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
This commit is contained in:
stippi 2010-02-12 12:29:04 +00:00
parent 75ffc858fc
commit d04f705dfc

View File

@ -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;