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

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

Issue 1442643003: Oilpan: move WebPluginLoadObserver to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: provide clearPluginContainer() w/ non-Oilpan only Created 5 years, 1 month 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/WebDataSourceImpl.h
diff --git a/third_party/WebKit/Source/web/WebDataSourceImpl.h b/third_party/WebKit/Source/web/WebDataSourceImpl.h
index 1c960aad54cf5a46dcea65fd7944aef9a1efd852..77e858093593a72f27dcd5770ecbb5a1f85cffec 100644
--- a/third_party/WebKit/Source/web/WebDataSourceImpl.h
+++ b/third_party/WebKit/Source/web/WebDataSourceImpl.h
@@ -44,8 +44,6 @@
namespace blink {
-class WebPluginLoadObserver;
-
class WebDataSourceImpl final : public DocumentLoader, public WebDataSource {
public:
static PassRefPtrWillBeRawPtr<WebDataSourceImpl> create(LocalFrame*, const ResourceRequest&, const SubstituteData&);
@@ -72,8 +70,8 @@ public:
static WebNavigationType toWebNavigationType(NavigationType);
- PassOwnPtr<WebPluginLoadObserver> releasePluginLoadObserver() { return m_pluginLoadObserver.release(); }
- static void setNextPluginLoadObserver(PassOwnPtr<WebPluginLoadObserver>);
+ PassOwnPtrWillBeRawPtr<WebPluginLoadObserver> releasePluginLoadObserver() { return m_pluginLoadObserver.release(); }
+ static void setNextPluginLoadObserver(PassOwnPtrWillBeRawPtr<WebPluginLoadObserver>);
DECLARE_VIRTUAL_TRACE();
@@ -90,7 +88,7 @@ private:
mutable WrappedResourceResponse m_responseWrapper;
OwnPtr<ExtraData> m_extraData;
- OwnPtr<WebPluginLoadObserver> m_pluginLoadObserver;
+ OwnPtrWillBeMember<WebPluginLoadObserver> m_pluginLoadObserver;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebDataSourceImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698