[EFL] Fix a crash on MiniBrowser when running on debug mode
authorgyuyoung.kim@webkit.org <gyuyoung.kim@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Jun 2015 10:03:48 +0000 (10:03 +0000)
committergyuyoung.kim@webkit.org <gyuyoung.kim@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Jun 2015 10:03:48 +0000 (10:03 +0000)
https://bugs.webkit.org/show_bug.cgi?id=145793

Reviewed by Carlos Garcia Campos.

r185314 missed to initialize parameters.diskCacheDirectory with configuration's one.

* UIProcess/efl/WebProcessPoolEfl.cpp:
(WebKit::WebProcessPool::platformInitializeWebProcess):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@185360 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/efl/WebProcessPoolEfl.cpp

index 5339109..9f01fd3 100644 (file)
@@ -1,3 +1,15 @@
+2015-06-09  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
+
+        [EFL] Fix a crash on MiniBrowser when running on debug mode
+        https://bugs.webkit.org/show_bug.cgi?id=145793
+
+        Reviewed by Carlos Garcia Campos.
+
+        r185314 missed to initialize parameters.diskCacheDirectory with configuration's one.
+
+        * UIProcess/efl/WebProcessPoolEfl.cpp:
+        (WebKit::WebProcessPool::platformInitializeWebProcess):
+
 2015-06-09  Csaba Osztrogon√°c  <ossy@webkit.org>
 
         [cmake] Fix the style issues in cmake project files
index 646aaca..e3ee112 100644 (file)
@@ -26,6 +26,7 @@
 #include "config.h"
 #include "WebProcessPool.h"
 
+#include "APIProcessPoolConfiguration.h"
 #include "Logging.h"
 #include "WebCookieManagerProxy.h"
 #include "WebInspectorServer.h"
@@ -93,6 +94,7 @@ void WebProcessPool::platformInitializeWebProcess(WebProcessCreationParameters&
     supplement<WebCookieManagerProxy>()->getCookiePersistentStorage(parameters.cookiePersistentStoragePath, parameters.cookiePersistentStorageType);
     parameters.cookieAcceptPolicy = m_initialHTTPCookieAcceptPolicy;
     parameters.ignoreTLSErrors = m_ignoreTLSErrors;
+    parameters.diskCacheDirectory = m_configuration->diskCacheDirectory();
 }
 
 void WebProcessPool::platformInvalidateContext()