Index: experimental/SkV8Example/Global.cpp |
diff --git a/experimental/SkV8Example/Global.cpp b/experimental/SkV8Example/Global.cpp |
index e8ad318d40268c8cd3346d2e5f21d0b9c06649ca..4bbdb7bf45e349a27d2f4b4e1a5b7fee0dac1c73 100644 |
--- a/experimental/SkV8Example/Global.cpp |
+++ b/experimental/SkV8Example/Global.cpp |
@@ -41,7 +41,7 @@ void Global::reportException(TryCatch* tryCatch) { |
fprintf(stderr, "%s\n", exceptionString); |
} else { |
// Print (filename):(line number): (message). |
- String::Utf8Value filename(message->GetScriptResourceName()); |
+ String::Utf8Value filename(message->GetScriptOrigin().ResourceName()); |
const char* filenameString = to_cstring(filename); |
int linenum = message->GetLineNumber(); |
fprintf(stderr, |