| Index: third_party/WebKit/Source/modules/plugins/DOMMimeTypeArray.cpp
|
| diff --git a/third_party/WebKit/Source/modules/plugins/DOMMimeTypeArray.cpp b/third_party/WebKit/Source/modules/plugins/DOMMimeTypeArray.cpp
|
| index 95b464dd1f1bb865ac19059edadf29da666724f2..4f9cace7c755ac80302ea30096bb5f67b5dc49f3 100644
|
| --- a/third_party/WebKit/Source/modules/plugins/DOMMimeTypeArray.cpp
|
| +++ b/third_party/WebKit/Source/modules/plugins/DOMMimeTypeArray.cpp
|
| @@ -53,7 +53,7 @@ DOMMimeType* DOMMimeTypeArray::item(unsigned index)
|
| const Vector<MimeClassInfo>& mimes = data->mimes();
|
| if (index >= mimes.size())
|
| return nullptr;
|
| - return DOMMimeType::create(data, m_frame, index);
|
| + return DOMMimeType::create(data, frame(), index);
|
| }
|
|
|
| DOMMimeType* DOMMimeTypeArray::namedItem(const AtomicString& propertyName)
|
| @@ -64,16 +64,16 @@ DOMMimeType* DOMMimeTypeArray::namedItem(const AtomicString& propertyName)
|
| 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);
|
| + return DOMMimeType::create(data, frame(), i);
|
| }
|
| return nullptr;
|
| }
|
|
|
| PluginData* DOMMimeTypeArray::getPluginData() const
|
| {
|
| - if (!m_frame)
|
| + if (!frame())
|
| return nullptr;
|
| - return m_frame->pluginData();
|
| + return frame()->pluginData();
|
| }
|
|
|
| } // namespace blink
|
|
|