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

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

Issue 2807343002: Rename ScriptResource/WorkerScriptLoader::Script() to SourceText() (Closed)
Patch Set: Created 3 years, 8 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 da77e15d0a17aa45042cfe8c317ca487e8e17878..15322eb586758b30c6a758f3acfc667b1059c694 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
@@ -245,7 +245,7 @@ bool InspectorPageAgent::CachedResourceContent(Resource* cached_resource,
MaybeEncodeTextContent(
cached_resource->ResourceBuffer()
? ToScriptResource(cached_resource)->DecodedText()
- : ToScriptResource(cached_resource)->Script(),
+ : ToScriptResource(cached_resource)->SourceText(),
cached_resource->ResourceBuffer(), result, base64_encoded);
return true;
default:

Powered by Google App Engine
This is Rietveld 408576698