Index: Source/core/page/Page.cpp |
diff --git a/Source/core/page/Page.cpp b/Source/core/page/Page.cpp |
index 82a710c8771579cbe0e7a09e125abd7a3580f51d..d11e5218f6dbdb4a4e7bc86c81691d20d56d2fbb 100644 |
--- a/Source/core/page/Page.cpp |
+++ b/Source/core/page/Page.cpp |
@@ -630,7 +630,7 @@ void Page::addRelevantRepaintedObject(RenderObject* object, const LayoutRect& ob |
return; |
// Objects inside sub-frames are not considered to be relevant. |
- if (object->document()->frame() != mainFrame()) |
+ if (object->document().frame() != mainFrame()) |
return; |
RenderView* view = object->view(); |