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

Unified Diff: Source/modules/plugins/DOMPlugin.cpp

Issue 1107783002: Oilpan: have Navigator plugin objects on the heap by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« no previous file with comments | « Source/modules/plugins/DOMPlugin.h ('k') | Source/modules/plugins/DOMPluginArray.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/plugins/DOMPlugin.cpp
diff --git a/Source/modules/plugins/DOMPlugin.cpp b/Source/modules/plugins/DOMPlugin.cpp
index 56b12613483e463eb310d96d8f1c1dd452df3a9f..a60aaf241ef86dc681aed90752b2783afc1cc28c 100644
--- a/Source/modules/plugins/DOMPlugin.cpp
+++ b/Source/modules/plugins/DOMPlugin.cpp
@@ -60,7 +60,7 @@ unsigned DOMPlugin::length() const
return pluginInfo().mimes.size();
}
-PassRefPtrWillBeRawPtr<DOMMimeType> DOMPlugin::item(unsigned index)
+DOMMimeType* DOMPlugin::item(unsigned index)
{
if (index >= pluginInfo().mimes.size())
return nullptr;
@@ -75,7 +75,7 @@ PassRefPtrWillBeRawPtr<DOMMimeType> DOMPlugin::item(unsigned index)
return nullptr;
}
-PassRefPtrWillBeRawPtr<DOMMimeType> DOMPlugin::namedItem(const AtomicString& propertyName)
+DOMMimeType* DOMPlugin::namedItem(const AtomicString& propertyName)
{
const Vector<MimeClassInfo>& mimes = m_pluginData->mimes();
for (unsigned i = 0; i < mimes.size(); ++i) {
« no previous file with comments | « Source/modules/plugins/DOMPlugin.h ('k') | Source/modules/plugins/DOMPluginArray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698