diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-13 06:41:11 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-13 06:41:11 +0000 |
commit | c5b3b5ee82c8aa7b760acec23fa39ee61dd53152 (patch) | |
tree | b2ceedd83090a12c4b23ca2aca55f26a72fea5a1 /webkit/glue/webframe_impl.h | |
parent | b0a09a009b8b46cca2800ce16009651723fdadbf (diff) | |
download | chromium_src-c5b3b5ee82c8aa7b760acec23fa39ee61dd53152.zip chromium_src-c5b3b5ee82c8aa7b760acec23fa39ee61dd53152.tar.gz chromium_src-c5b3b5ee82c8aa7b760acec23fa39ee61dd53152.tar.bz2 |
The WebFrame interface currently supports reference counting, but no one uses.
Internally, WebFrameImpl needs reference counting, so we still define it there.
Same goes for WebView and WebWidget.
While making this change, I noticed that WebInspectorClient was casting WebView
pointers to WebViewImpl pointers too much. By just starting with WebViewImpl
pointers, things could be cleaned up considerably.
R=brettw
Review URL: http://codereview.chromium.org/21342
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9745 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webframe_impl.h')
-rw-r--r-- | webkit/glue/webframe_impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/webframe_impl.h b/webkit/glue/webframe_impl.h index c3284ff..3633651 100644 --- a/webkit/glue/webframe_impl.h +++ b/webkit/glue/webframe_impl.h @@ -70,7 +70,7 @@ class BitmapPlatformDeviceWin; } // Implementation of WebFrame, note that this is a reference counted object. -class WebFrameImpl : public WebFrame { +class WebFrameImpl : public WebFrame, public base::RefCounted<WebFrameImpl> { public: WebFrameImpl(); ~WebFrameImpl(); |