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

Unified Diff: headless/app/headless_shell.cc

Issue 2246113004: [headless] Fix headless_shell compilation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/app/headless_shell.cc
diff --git a/headless/app/headless_shell.cc b/headless/app/headless_shell.cc
index 4d05e3e13084cbe9f76e7e7fcdd62c9f453ef531..46e7af0d558dbae602cf13b0936a80b489196e92 100644
--- a/headless/app/headless_shell.cc
+++ b/headless/app/headless_shell.cc
@@ -209,7 +209,7 @@ class HeadlessShell : public HeadlessWebContents::Observer,
}
void OnDomFetched(std::unique_ptr<runtime::EvaluateResult> result) {
- if (result->GetWasThrown()) {
+ if (result->GetExceptionDetails()) {
LOG(ERROR) << "Failed to evaluate document.body.innerHTML";
} else {
std::string dom;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698