| Index: third_party/WebKit/Source/modules/plugins/DOMPluginArray.cpp
|
| diff --git a/third_party/WebKit/Source/modules/plugins/DOMPluginArray.cpp b/third_party/WebKit/Source/modules/plugins/DOMPluginArray.cpp
|
| index 8fa5d5a809fc9458c42394cf398737e60f810ee1..b1d675e1e84dcd6e3fd72ad3a0b67bd515a11d9c 100644
|
| --- a/third_party/WebKit/Source/modules/plugins/DOMPluginArray.cpp
|
| +++ b/third_party/WebKit/Source/modules/plugins/DOMPluginArray.cpp
|
| @@ -22,6 +22,7 @@
|
|
|
| #include "core/frame/LocalFrame.h"
|
| #include "core/page/Page.h"
|
| +#include "platform/RuntimeEnabledFeatures.h"
|
| #include "platform/plugins/PluginData.h"
|
| #include "wtf/Vector.h"
|
| #include "wtf/text/AtomicString.h"
|
| @@ -67,8 +68,12 @@ void DOMPluginArray::refresh(bool reload) {
|
| if (!frame())
|
| return;
|
| Page::refreshPlugins();
|
| - if (reload)
|
| - frame()->reload(FrameLoadTypeReload, ClientRedirectPolicy::ClientRedirect);
|
| + if (reload) {
|
| + frame()->reload(RuntimeEnabledFeatures::fasterLocationReloadEnabled()
|
| + ? FrameLoadTypeReloadMainResource
|
| + : FrameLoadTypeReload,
|
| + ClientRedirectPolicy::ClientRedirect);
|
| + }
|
| }
|
|
|
| PluginData* DOMPluginArray::pluginData() const {
|
|
|