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

Unified Diff: Source/core/plugins/DOMMimeTypeArray.cpp

Issue 879423003: Move Location to DOMWindow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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: Source/core/plugins/DOMMimeTypeArray.cpp
diff --git a/Source/core/plugins/DOMMimeTypeArray.cpp b/Source/core/plugins/DOMMimeTypeArray.cpp
index 3410fdba2384325eaf351c5cd279bb8c76a6e309..f3fca0eb5fe0e6c945345da192395ccc4113cc45 100644
--- a/Source/core/plugins/DOMMimeTypeArray.cpp
+++ b/Source/core/plugins/DOMMimeTypeArray.cpp
@@ -54,7 +54,7 @@ PassRefPtrWillBeRawPtr<DOMMimeType> DOMMimeTypeArray::item(unsigned index)
const Vector<MimeClassInfo>& mimes = data->mimes();
if (index >= mimes.size())
return nullptr;
- return DOMMimeType::create(data, m_frame, index).get();
+ return DOMMimeType::create(data, localFrame(), index).get();
}
bool DOMMimeTypeArray::canGetItemsForName(const AtomicString& propertyName)
@@ -78,7 +78,7 @@ PassRefPtrWillBeRawPtr<DOMMimeType> DOMMimeTypeArray::namedItem(const AtomicStri
const Vector<MimeClassInfo>& mimes = data->mimes();
for (unsigned i = 0; i < mimes.size(); ++i) {
if (mimes[i].type == propertyName)
- return DOMMimeType::create(data, m_frame, i).get();
+ return DOMMimeType::create(data, localFrame(), i).get();
}
return nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698