| Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| index dfe1e0daae5a9b36735bf9c98883a6f18c34a283..ce29c2d4d98b96f19519c8a326378f2a63f06df4 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| @@ -112,7 +112,7 @@ GraphicsLayer::GraphicsLayer(GraphicsLayerClient* client)
|
| m_renderingContext3d(0),
|
| m_colorBehavior(ColorBehavior::transformToGlobalTarget()),
|
| m_hasPreferredRasterBounds(false) {
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| if (m_client)
|
| m_client->verifyNotPainting();
|
| #endif
|
| @@ -134,7 +134,7 @@ GraphicsLayer::~GraphicsLayer() {
|
| m_linkHighlights[i]->clearCurrentGraphicsLayer();
|
| m_linkHighlights.clear();
|
|
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| if (m_client)
|
| m_client->verifyNotPainting();
|
| #endif
|
|
|