Index: third_party/WebKit/Source/core/frame/Location.cpp |
diff --git a/third_party/WebKit/Source/core/frame/Location.cpp b/third_party/WebKit/Source/core/frame/Location.cpp |
index 46f2c1cd3c7e42f4d1208261b37c0223376cf3e3..9a1ebf41694440f2ae194ad213f68852924d19bb 100644 |
--- a/third_party/WebKit/Source/core/frame/Location.cpp |
+++ b/third_party/WebKit/Source/core/frame/Location.cpp |
@@ -255,7 +255,7 @@ void Location::replace(LocalDOMWindow* currentWindow, |
void Location::reload(LocalDOMWindow* currentWindow) { |
if (!m_frame) |
return; |
- if (protocolIsJavaScript(toLocalFrame(m_frame)->document()->url())) |
+ if (toLocalFrame(m_frame)->document()->url().protocolIsJavaScript()) |
return; |
FrameLoadType reloadType = |
RuntimeEnabledFeatures::fasterLocationReloadEnabled() |