From d04f705dfcd06a671fb796f8e1a3a7eef9b5f75b Mon Sep 17 00:00:00 2001 From: stippi Date: Fri, 12 Feb 2010 12:29:04 +0000 Subject: [PATCH] Introduced API for setting the caching policy in WebProcess, and used it LauncherApp. The values/code come straight from the GTK port. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@47 94f232f2-1747-11df-bad5-a5bfde151594 --- src/apps/webpositive/LauncherApp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apps/webpositive/LauncherApp.cpp b/src/apps/webpositive/LauncherApp.cpp index 74b8d84fca..fab6e75589 100644 --- a/src/apps/webpositive/LauncherApp.cpp +++ b/src/apps/webpositive/LauncherApp.cpp @@ -84,6 +84,7 @@ void LauncherApp::ArgvReceived(int32 argc, char** argv) void LauncherApp::ReadyToRun() { WebProcess::initializeOnce(); + WebProcess::setCacheModel(WEBKIT_CACHE_MODEL_WEB_BROWSER); BFile settingsFile; BRect windowFrameFromSettings = m_lastWindowFrame;