Title: [97147] trunk/Tools
Revision
97147
Author
commit-qu...@webkit.org
Date
2011-10-11 05:47:54 -0700 (Tue, 11 Oct 2011)

Log Message

[EFL] DRT: Make sure IconDatabase is closed before trying to open it again.
https://bugs.webkit.org/show_bug.cgi?id=69769

Patch by Raphael Kubo da Costa <k...@profusion.mobi> on 2011-10-11
Reviewed by Antonio Gomes.

* DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
(LayoutTestController::setIconDatabaseEnabled):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (97146 => 97147)


--- trunk/Tools/ChangeLog	2011-10-11 12:20:05 UTC (rev 97146)
+++ trunk/Tools/ChangeLog	2011-10-11 12:47:54 UTC (rev 97147)
@@ -1,3 +1,13 @@
+2011-10-11  Raphael Kubo da Costa  <k...@profusion.mobi>
+
+        [EFL] DRT: Make sure IconDatabase is closed before trying to open it again.
+        https://bugs.webkit.org/show_bug.cgi?id=69769
+
+        Reviewed by Antonio Gomes.
+
+        * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
+        (LayoutTestController::setIconDatabaseEnabled):
+
 2011-10-11  Tor Arne Vestbø  <tor.arne.ves...@nokia.com>
 
         [Qt] Remove all references to QTDIR_build and standalone_package

Modified: trunk/Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp (97146 => 97147)


--- trunk/Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp	2011-10-11 12:20:05 UTC (rev 97146)
+++ trunk/Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp	2011-10-11 12:47:54 UTC (rev 97147)
@@ -394,10 +394,10 @@
 
 void LayoutTestController::setIconDatabaseEnabled(bool enabled)
 {
-    if (!enabled) {
-        ewk_settings_icon_database_path_set(0);
+    ewk_settings_icon_database_path_set(0);
+
+    if (!enabled)
         return;
-    }
 
     String databasePath;
     const char* tempDir = getenv("TMPDIR");
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to