Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp

Issue 2724673002: [WIP] Introduce ScriptResourceData
Patch Set: Compile fix Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
index 196c260505eb31b1cbf1ca6008957c2409574ff8..4ae846c7fc26ddc85bdb7aeb7d73c3acea9fd69e 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
@@ -281,7 +281,7 @@ bool InspectorPageAgent::CachedResourceContent(Resource* cached_resource,
MaybeEncodeTextContent(
cached_resource->ResourceBuffer()
? ToScriptResource(cached_resource)->DecodedText()
- : ToScriptResource(cached_resource)->SourceText(),
+ : ToScriptResource(cached_resource)->ResourceData()->SourceText(),
cached_resource->ResourceBuffer(), result, base64_encoded);
return true;
default:
« no previous file with comments | « third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.cpp ('k') | third_party/WebKit/Source/core/loader/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698