| Index: Source/WebKit/chromium/src/WebFrameImpl.cpp
|
| diff --git a/Source/WebKit/chromium/src/WebFrameImpl.cpp b/Source/WebKit/chromium/src/WebFrameImpl.cpp
|
| index f62ca9154bf761ac763cb64926f42b526a627240..17fbbc9f82747669212caf75671ee61b34455471 100644
|
| --- a/Source/WebKit/chromium/src/WebFrameImpl.cpp
|
| +++ b/Source/WebKit/chromium/src/WebFrameImpl.cpp
|
| @@ -173,6 +173,7 @@
|
| #include "core/platform/chromium/TraceEvent.h"
|
| #include "core/platform/graphics/FontCache.h"
|
| #include "core/platform/graphics/GraphicsContext.h"
|
| +#include "core/platform/graphics/GraphicsLayerClient.h"
|
| #include "core/platform/graphics/skia/SkiaUtils.h"
|
| #include "core/platform/network/ResourceHandle.h"
|
| #include "core/platform/network/ResourceRequest.h"
|
| @@ -2107,8 +2108,7 @@ WebString WebFrameImpl::layerTreeAsText(bool showDebugInfo) const
|
| if (!frame())
|
| return WebString();
|
|
|
| - LayerTreeFlags flags = showDebugInfo ? LayerTreeFlagsIncludeDebugInfo : 0;
|
| - return WebString(frame()->layerTreeAsText(flags));
|
| + return WebString(frame()->layerTreeAsText(showDebugInfo ? LayerTreeIncludesDebugInfo : LayerTreeNormal));
|
| }
|
|
|
| // WebFrameImpl public ---------------------------------------------------------
|
|
|