2010-12-10 Joone Hur <joone@kldp.org>

        Reviewed by Martin Robinson.

        [GTK] DRT needs layoutTestController.setCacheModel
        https://bugs.webkit.org/show_bug.cgi?id=50705

        webkit_set_cache_mode() is called to set the cache model.

        * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
        (LayoutTestController::setCacheModel): Set the cache model.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73751 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 78cc45eb
2010-12-10 Joone Hur <joone@kldp.org>
Reviewed by Martin Robinson.
[GTK] DRT needs layoutTestController.setCacheModel
https://bugs.webkit.org/show_bug.cgi?id=50705
webkit_set_cache_mode() is called to set the cache model.
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::setCacheModel): Set the cache model.
2010-12-10 Tony Chang <tony@chromium.org>
Reviewed by Ojan Vafai.
......
......@@ -563,9 +563,12 @@ bool LayoutTestController::isCommandEnabled(JSStringRef name)
return result;
}
void LayoutTestController::setCacheModel(int)
void LayoutTestController::setCacheModel(int cacheModel)
{
// FIXME: implement
if (!cacheModel) // WebCacheModelDocumentViewer
webkit_set_cache_model(WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER);
else
webkit_set_cache_model(WEBKIT_CACHE_MODEL_WEB_BROWSER);
}
void LayoutTestController::setPersistentUserStyleSheetLocation(JSStringRef jsURL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment