Chromium Code Reviews| Index: Source/core/inspector/InspectorPageAgent.cpp |
| diff --git a/Source/core/inspector/InspectorPageAgent.cpp b/Source/core/inspector/InspectorPageAgent.cpp |
| index 20b4717cdac2daf20cd702876ed8996ba0f6dbc9..9f403f4f1248b887114bd80099c3a397d2624fcf 100644 |
| --- a/Source/core/inspector/InspectorPageAgent.cpp |
| +++ b/Source/core/inspector/InspectorPageAgent.cpp |
| @@ -529,7 +529,7 @@ void InspectorPageAgent::getResourceContentAfterResourcesContentLoaded(const Str |
| void InspectorPageAgent::getResourceContent(ErrorString* errorString, const String& frameId, const String& url, PassRefPtrWillBeRawPtr<GetResourceContentCallback> callback) |
| { |
| String content; |
| - if (m_debuggerAgent->getEditedScript(url, &content) || m_cssAgent->getEditedStyleSheet(url, &content)) { |
| + if (m_cssAgent->getEditedStyleSheet(url, &content)) { |
|
pfeldman
2015/07/22 04:16:14
Could you explain why we would treat CSS and JS di
|
| callback->sendSuccess(content, false); |
| return; |
| } |