| Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| index 43f5f0190fd2678de5a19e949f3e60755cbd3f5d..7a477fcb40b5b38ad972f10b061e8872393cba08 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| @@ -3429,7 +3429,7 @@ void CompositedLayerMapping::VerifyNotPainting() {
|
| // Only used for performance benchmark testing. Intended to be a
|
| // sufficiently-unique element id name to allow picking out the target element
|
| // for invalidation.
|
| -static const char* g_k_test_paint_invalidation_target_name =
|
| +static const char kTestPaintInvalidationTargetName[] =
|
| "blinkPaintInvalidationTarget";
|
|
|
| void CompositedLayerMapping::InvalidateTargetElementForTesting() {
|
| @@ -3437,7 +3437,7 @@ void CompositedLayerMapping::InvalidateTargetElementForTesting() {
|
| // microbenchmark on the cost of paint with a partial invalidation.
|
| Element* target_element =
|
| owning_layer_.GetLayoutObject().GetDocument().GetElementById(
|
| - AtomicString(g_k_test_paint_invalidation_target_name));
|
| + AtomicString(kTestPaintInvalidationTargetName));
|
| // TODO(wkorman): If we don't find the expected target element, we could
|
| // consider walking to the first leaf node so that the partial-invalidation
|
| // benchmark mode still provides some value when running on generic pages.
|
|
|