Changeset 73751 in webkit


Ignore:
Timestamp:
Dec 10, 2010 11:41:02 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

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.
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r73748 r73751  
     12010-12-10  Joone Hur  <joone@kldp.org>
     2
     3        Reviewed by Martin Robinson.
     4
     5        [GTK] DRT needs layoutTestController.setCacheModel
     6        https://bugs.webkit.org/show_bug.cgi?id=50705
     7       
     8        webkit_set_cache_mode() is called to set the cache model.
     9       
     10        * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
     11        (LayoutTestController::setCacheModel): Set the cache model.
     12
    1132010-12-10  Tony Chang  <tony@chromium.org>
    214
  • trunk/WebKitTools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp

    r73740 r73751  
    564564}
    565565
    566 void LayoutTestController::setCacheModel(int)
    567 {
    568     // FIXME: implement
     566void LayoutTestController::setCacheModel(int cacheModel)
     567{
     568    if (!cacheModel) // WebCacheModelDocumentViewer
     569        webkit_set_cache_model(WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER);
     570    else
     571        webkit_set_cache_model(WEBKIT_CACHE_MODEL_WEB_BROWSER);
    569572}
    570573
Note: See TracChangeset for help on using the changeset viewer.