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

Unified Diff: third_party/WebKit/Source/core/html/forms/ChooserOnlyTemporalInputTypeView.cpp

Issue 2716153003: Removed FrameHost::chromeClient() (Closed)
Patch Set: Rebase Created 3 years, 10 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
Index: third_party/WebKit/Source/core/html/forms/ChooserOnlyTemporalInputTypeView.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/ChooserOnlyTemporalInputTypeView.cpp b/third_party/WebKit/Source/core/html/forms/ChooserOnlyTemporalInputTypeView.cpp
index 26e8be5da29b7f3ee8b56f5f461d9d8e7ff6bdb7..b163f9a3a8e2dea10f7f93da96a5c19b26fc77f4 100644
--- a/third_party/WebKit/Source/core/html/forms/ChooserOnlyTemporalInputTypeView.cpp
+++ b/third_party/WebKit/Source/core/html/forms/ChooserOnlyTemporalInputTypeView.cpp
@@ -28,10 +28,10 @@
#include "bindings/core/v8/ExceptionState.h"
#include "core/dom/Document.h"
#include "core/dom/shadow/ShadowRoot.h"
-#include "core/frame/FrameHost.h"
#include "core/html/HTMLDivElement.h"
#include "core/html/HTMLInputElement.h"
#include "core/page/ChromeClient.h"
+#include "core/page/Page.h"
#include "platform/UserGestureIndicator.h"
namespace blink {
@@ -73,7 +73,7 @@ void ChooserOnlyTemporalInputTypeView::handleDOMActivateEvent(Event*) {
if (!element().setupDateTimeChooserParameters(parameters))
return;
m_dateTimeChooser =
- element().document().frameHost()->chromeClient().openDateTimeChooser(
+ element().document().page()->chromeClient().openDateTimeChooser(
this, parameters);
}

Powered by Google App Engine
This is Rietveld 408576698