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

Unified Diff: third_party/WebKit/Source/web/WebScopedUserGesture.cpp

Issue 2881693002: Move more classes to WebLocalFrameBase instead of WebLocalFrameImpl. (Closed)
Patch Set: Created 3 years, 7 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/web/WebScopedUserGesture.cpp
diff --git a/third_party/WebKit/Source/web/WebScopedUserGesture.cpp b/third_party/WebKit/Source/web/WebScopedUserGesture.cpp
index 62e4e23b7e53b94a915b16a215767d91c6bf4e8a..a9f47f24e1fe7e201ec2174e462c3cb92138dc48 100644
--- a/third_party/WebKit/Source/web/WebScopedUserGesture.cpp
+++ b/third_party/WebKit/Source/web/WebScopedUserGesture.cpp
@@ -31,9 +31,9 @@
#include "public/web/WebScopedUserGesture.h"
#include "core/dom/DocumentUserGestureToken.h"
+#include "core/frame/WebLocalFrameBase.h"
#include "platform/UserGestureIndicator.h"
#include "public/web/WebUserGestureToken.h"
-#include "web/WebLocalFrameImpl.h"
namespace blink {
@@ -44,7 +44,7 @@ WebScopedUserGesture::WebScopedUserGesture(const WebUserGestureToken& token) {
WebScopedUserGesture::WebScopedUserGesture(WebLocalFrame* frame) {
indicator_.reset(new UserGestureIndicator(DocumentUserGestureToken::Create(
- frame ? ToWebLocalFrameImpl(frame)->GetFrame()->GetDocument() : nullptr,
+ frame ? ToWebLocalFrameBase(frame)->GetFrame()->GetDocument() : nullptr,
UserGestureToken::kNewGesture)));
}
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.h ('k') | third_party/WebKit/Source/web/WebSharedWorkerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698