am b40f5d72: am 2524fd28: Merge "Fix leak of inspectorClient when INSPECTOR disabled"
* commit 'b40f5d724d7ee13d54246f5794375c3c9945f90a':
Fix leak of inspectorClient when INSPECTOR disabled
diff --git a/Source/WebKit/android/jni/WebCoreFrameBridge.cpp b/Source/WebKit/android/jni/WebCoreFrameBridge.cpp
index ecda831..9df4dbd 100644
--- a/Source/WebKit/android/jni/WebCoreFrameBridge.cpp
+++ b/Source/WebKit/android/jni/WebCoreFrameBridge.cpp
@@ -1103,7 +1103,9 @@
pageClients.contextMenuClient = new ContextMenuClientAndroid;
pageClients.editorClient = editorC;
pageClients.dragClient = new DragClientAndroid;
+#if ENABLE(INSPECTOR)
pageClients.inspectorClient = new InspectorClientAndroid;
+#endif
pageClients.deviceMotionClient = deviceMotionC;
pageClients.deviceOrientationClient = deviceOrientationC;
pageClients.geolocationClient = geolocationC;