Index: Source/core/inspector/InspectorPageAgent.cpp |
diff --git a/Source/core/inspector/InspectorPageAgent.cpp b/Source/core/inspector/InspectorPageAgent.cpp |
index da3b1a634f6133ba392fbf28d647d04934c2aa18..40a4823418a43b296bfbd498b7df1bdd2a2257b1 100644 |
--- a/Source/core/inspector/InspectorPageAgent.cpp |
+++ b/Source/core/inspector/InspectorPageAgent.cpp |
@@ -584,10 +584,9 @@ void InspectorPageAgent::removeScriptToEvaluateOnLoad(ErrorString* error, const |
scripts->remove(identifier); |
} |
-void InspectorPageAgent::reload(ErrorString*, const bool* const optionalIgnoreCache, const String* optionalScriptToEvaluateOnLoad, const String* optionalScriptPreprocessor) |
+void InspectorPageAgent::reload(ErrorString*, const bool* const optionalIgnoreCache, const String* optionalScriptToEvaluateOnLoad) |
{ |
m_pendingScriptToEvaluateOnLoadOnce = optionalScriptToEvaluateOnLoad ? *optionalScriptToEvaluateOnLoad : ""; |
- m_pendingScriptPreprocessor = optionalScriptPreprocessor ? *optionalScriptPreprocessor : ""; |
inspectedFrame()->reload(asBool(optionalIgnoreCache) ? EndToEndReload : NormalReload, NotClientRedirect); |
} |
@@ -1014,9 +1013,7 @@ void InspectorPageAgent::didCommitLoad(LocalFrame*, DocumentLoader* loader) |
{ |
if (loader->frame() == inspectedFrame()) { |
m_scriptToEvaluateOnLoadOnce = m_pendingScriptToEvaluateOnLoadOnce; |
- m_scriptPreprocessorSource = m_pendingScriptPreprocessor; |
m_pendingScriptToEvaluateOnLoadOnce = String(); |
- m_pendingScriptPreprocessor = String(); |
if (m_inspectorResourceContentLoader) |
m_inspectorResourceContentLoader->stop(); |
} |