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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.h

Issue 2837593002: Nuked WebFrameImplBase. (Closed)
Patch Set: Replaced non-null params with refs. Created 3 years, 8 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/WebLocalFrameImpl.h
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.h b/third_party/WebKit/Source/web/WebLocalFrameImpl.h
index cf1f229ebd2d98377ee9839e46b095d6ccf58bd3..171df7c73c367e851dce89df7b2f0c6c344d1d48 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.h
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.h
@@ -43,7 +43,6 @@
#include "web/LocalFrameClientImpl.h"
#include "web/UserMediaClientImpl.h"
#include "web/WebExport.h"
-#include "web/WebFrameImplBase.h"
#include "web/WebFrameWidgetBase.h"
#include "web/WebInputMethodControllerImpl.h"
@@ -84,7 +83,7 @@ class WebVector;
// Implementation of WebFrame, note that this is a reference counted object.
class WEB_EXPORT WebLocalFrameImpl final
- : public WebFrameImplBase,
+ : public GarbageCollectedFinalized<WebLocalFrameImpl>,
NON_EXPORTED_BASE(public WebLocalFrame) {
public:
// WebFrame methods:
@@ -239,8 +238,6 @@ class WEB_EXPORT WebLocalFrameImpl final
WebString LayerTreeAsText(bool show_debug_info = false) const override;
- WebFrameImplBase* ToImplBase() override { return this; }
-
// WebLocalFrame methods:
void SetAutofillClient(WebAutofillClient*) override;
WebAutofillClient* AutofillClient() override;
@@ -321,11 +318,8 @@ class WEB_EXPORT WebLocalFrameImpl final
WebString& clip_text,
WebString& clip_html) override;
- // WebFrameImplBase methods:
- void InitializeCoreFrame(Page&,
- FrameOwner*,
- const AtomicString& name) override;
- LocalFrame* GetFrame() const override { return frame_.Get(); }
+ void InitializeCoreFrame(Page&, FrameOwner*, const AtomicString& name);
+ LocalFrame* GetFrame() const { return frame_.Get(); }
void WillBeDetached();
void WillDetachParent();
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameImplBase.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698