Changeset 167319 in webkit


Ignore:
Timestamp:
Apr 15, 2014 11:53:48 AM (10 years ago)
Author:
Simon Fraser
Message:

LayerTreeAsTextBehavior should be in the WebCore namespace
https://bugs.webkit.org/show_bug.cgi?id=131683

Reviewed by Andrei Bucur.

Move LayerTreeAsTextBehavior and the bit flags into the WebCore namespace.

  • platform/graphics/GraphicsLayer.cpp:

(showGraphicsLayerTree):

  • platform/graphics/GraphicsLayer.h:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r167318 r167319  
     12014-04-15  Simon Fraser  <simon.fraser@apple.com>
     2
     3        LayerTreeAsTextBehavior should be in the WebCore namespace
     4        https://bugs.webkit.org/show_bug.cgi?id=131683
     5
     6        Reviewed by Andrei Bucur.
     7
     8        Move LayerTreeAsTextBehavior and the bit flags into the WebCore namespace.
     9
     10        * platform/graphics/GraphicsLayer.cpp:
     11        (showGraphicsLayerTree):
     12        * platform/graphics/GraphicsLayer.h:
     13
    1142014-04-15  Benjamin Poulain  <bpoulain@apple.com>
    215
  • trunk/Source/WebCore/platform/graphics/GraphicsLayer.cpp

    r167246 r167319  
    800800        return;
    801801
    802     String output = layer->layerTreeAsText(LayerTreeAsTextDebug | LayerTreeAsTextIncludeVisibleRects | LayerTreeAsTextIncludeTileCaches);
     802    String output = layer->layerTreeAsText(WebCore::LayerTreeAsTextDebug | WebCore::LayerTreeAsTextIncludeVisibleRects | WebCore::LayerTreeAsTextIncludeTileCaches);
    803803    fprintf(stderr, "%s\n", output.utf8().data());
    804804}
  • trunk/Source/WebCore/platform/graphics/GraphicsLayer.h

    r166784 r167319  
    4848#endif
    4949
     50namespace WebCore {
     51
    5052enum LayerTreeAsTextBehaviorFlags {
    5153    LayerTreeAsTextBehaviorNormal = 0,
     
    5860};
    5961typedef unsigned LayerTreeAsTextBehavior;
    60 
    61 namespace WebCore {
    6262
    6363class GraphicsContext;
Note: See TracChangeset for help on using the changeset viewer.