| Index: third_party/WebKit/Source/core/loader/SinkDocument.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/SinkDocument.cpp b/third_party/WebKit/Source/core/loader/SinkDocument.cpp
|
| index 41e3d8586531d71b1702494def901ecf4707740a..ea1bedf5457ebfd09b25481043aa6b8960fb2a59 100644
|
| --- a/third_party/WebKit/Source/core/loader/SinkDocument.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/SinkDocument.cpp
|
| @@ -53,7 +53,7 @@ SinkDocument::SinkDocument(const DocumentInit& initializer)
|
| setCompatibilityMode(QuirksMode);
|
| lockCompatibilityMode();
|
| UseCounter::count(*this, UseCounter::SinkDocument);
|
| - if (ownerElement())
|
| + if (localOwnerElement())
|
| UseCounter::count(*this, UseCounter::SinkDocumentInFrame);
|
| }
|
|
|
|
|