Title: [145002] trunk/Source/WebKit/gtk
Revision
145002
Author
[email protected]
Date
2013-03-06 16:27:51 -0800 (Wed, 06 Mar 2013)

Log Message

[GTK] Return m_inspectorFilesPath if it is not null
https://bugs.webkit.org/show_bug.cgi?id=111633

Patch by Sudarsana Nagineni <[email protected]> on 2013-03-06
Reviewed by Martin Robinson.

Added missing return in InspectorClient::inspectorFilesPath().

* WebCoreSupport/InspectorClientGtk.cpp:
(WebKit::InspectorClient::inspectorFilesPath):

Modified Paths

Diff

Modified: trunk/Source/WebKit/gtk/ChangeLog (145001 => 145002)


--- trunk/Source/WebKit/gtk/ChangeLog	2013-03-07 00:26:01 UTC (rev 145001)
+++ trunk/Source/WebKit/gtk/ChangeLog	2013-03-07 00:27:51 UTC (rev 145002)
@@ -1,3 +1,15 @@
+2013-03-06  Sudarsana Nagineni  <[email protected]>
+
+        [GTK] Return m_inspectorFilesPath if it is not null
+        https://bugs.webkit.org/show_bug.cgi?id=111633
+
+        Reviewed by Martin Robinson.
+
+        Added missing return in InspectorClient::inspectorFilesPath().
+
+        * WebCoreSupport/InspectorClientGtk.cpp:
+        (WebKit::InspectorClient::inspectorFilesPath):
+
 2013-03-06  Dominique Leuenberger  <[email protected]>
 
         Link the webkit_tests to XRENDER_LIBS.

Modified: trunk/Source/WebKit/gtk/WebCoreSupport/InspectorClientGtk.cpp (145001 => 145002)


--- trunk/Source/WebKit/gtk/WebCoreSupport/InspectorClientGtk.cpp	2013-03-07 00:26:01 UTC (rev 145001)
+++ trunk/Source/WebKit/gtk/WebCoreSupport/InspectorClientGtk.cpp	2013-03-07 00:27:51 UTC (rev 145002)
@@ -160,7 +160,7 @@
 const char* InspectorClient::inspectorFilesPath()
 {
     if (m_inspectorFilesPath)
-        m_inspectorFilesPath.get();
+        return m_inspectorFilesPath.get();
 
     const char* environmentPath = getenv("WEBKIT_INSPECTOR_PATH");
     if (environmentPath && g_file_test(environmentPath, G_FILE_TEST_IS_DIR))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to