Changeset 157527 in webkit


Ignore:
Timestamp:
Oct 16, 2013, 2:19:29 PM (12 years ago)
Author:
timothy_horton@apple.com
Message:

Remote Layer Tree: Use a default instead of an environment variable
https://bugs.webkit.org/show_bug.cgi?id=122913

Reviewed by Anders Carlsson.

  • UIProcess/API/mac/WKView.mm:

(-[WKView std::WebKit::]):
Use the default 'WebKit2UseRemoteLayerTreeDrawingArea' instead of
the environment variable 'WK_USE_REMOTE_LAYER_TREE_DRAWING_AREA'
to indicate that WKViews should make RemoteLayerTreeDrawingAreas.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r157524 r157527  
     12013-10-16  Tim Horton  <timothy_horton@apple.com>
     2
     3        Remote Layer Tree: Use a default instead of an environment variable
     4        https://bugs.webkit.org/show_bug.cgi?id=122913
     5
     6        Reviewed by Anders Carlsson.
     7
     8        * UIProcess/API/mac/WKView.mm:
     9        (-[WKView std::WebKit::]):
     10        Use the default 'WebKit2UseRemoteLayerTreeDrawingArea' instead of
     11        the environment variable 'WK_USE_REMOTE_LAYER_TREE_DRAWING_AREA'
     12        to indicate that WKViews should make RemoteLayerTreeDrawingAreas.
     13
    1142013-10-15  Brady Eidson  <beidson@apple.com>
    215
  • trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm

    r157319 r157527  
    22772277- (std::unique_ptr<WebKit::DrawingAreaProxy>)_createDrawingAreaProxy
    22782278{
    2279     if (getenv("WK_USE_REMOTE_LAYER_TREE_DRAWING_AREA"))
     2279    if ([[[NSUserDefaults standardUserDefaults] objectForKey:@"WebKit2UseRemoteLayerTreeDrawingArea"] boolValue])
    22802280        return std::make_unique<RemoteLayerTreeDrawingAreaProxy>(_data->_page.get());
    22812281
Note: See TracChangeset for help on using the changeset viewer.