| Index: third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| index af2fa31113ae0cfe091371fb8e0e9376710fd0d1..acb26e70ae1143130f7d9041c78c7ba332862d69 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| @@ -196,8 +196,7 @@ void V8Window::postMessageMethodCustom(
|
| LocalDOMWindow* source = currentDOMWindow(info.GetIsolate());
|
|
|
| ASSERT(window);
|
| - UseCounter::countIfNotPrivateScript(info.GetIsolate(), window->frame(),
|
| - UseCounter::WindowPostMessage);
|
| + UseCounter::count(window->frame(), UseCounter::WindowPostMessage);
|
|
|
| // If called directly by WebCore we don't have a calling context.
|
| if (!source) {
|
|
|