Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(609)

Unified Diff: Source/core/dom/Document.cpp

Issue 22955006: Chrome::client() should return a ChromeClient reference. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/accessibility/AXObjectCache.cpp ('k') | Source/core/dom/FullscreenElementStack.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index a5dddea9ff27a0d1ab8a4d19beb42ad0897e3fd2..f796b18779f0430f10287b4ee7ae131fca1ec5dc 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -4830,7 +4830,7 @@ void Document::didAddTouchEventHandler(Node* handler)
if (ScrollingCoordinator* scrollingCoordinator = page->scrollingCoordinator())
scrollingCoordinator->touchEventTargetRectsDidChange(this);
if (m_touchEventTargets->size() == 1)
- page->chrome().client()->needTouchEvents(true);
+ page->chrome().client().needTouchEvents(true);
}
}
@@ -4856,7 +4856,7 @@ void Document::didRemoveTouchEventHandler(Node* handler)
if (frame->document() && frame->document()->hasTouchEventHandlers())
return;
}
- page->chrome().client()->needTouchEvents(false);
+ page->chrome().client().needTouchEvents(false);
}
void Document::didRemoveEventTargetNode(Node* handler)
@@ -5196,7 +5196,7 @@ void Document::didAssociateFormControlsTimerFired(Timer<Document>* timer)
Vector<RefPtr<Element> > associatedFormControls;
copyToVector(m_associatedFormControls, associatedFormControls);
- frame()->page()->chrome().client()->didAssociateFormControls(associatedFormControls);
+ frame()->page()->chrome().client().didAssociateFormControls(associatedFormControls);
m_associatedFormControls.clear();
}
« no previous file with comments | « Source/core/accessibility/AXObjectCache.cpp ('k') | Source/core/dom/FullscreenElementStack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698