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

Unified Diff: extensions/renderer/api_binding_unittest.cc

Issue 2657613005: [Extensions Bindings] Add chrome.runtime.lastError support (Closed)
Patch Set: . Created 3 years, 11 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: extensions/renderer/api_binding_unittest.cc
diff --git a/extensions/renderer/api_binding_unittest.cc b/extensions/renderer/api_binding_unittest.cc
index e8b4fff259fb7876bb0aeb5f2012a725c88a914b..c53186b0dea2033efcece5dde493effc890ba993 100644
--- a/extensions/renderer/api_binding_unittest.cc
+++ b/extensions/renderer/api_binding_unittest.cc
@@ -135,7 +135,8 @@ class APIBindingUnittest : public APIBindingTest {
void SetUp() override {
APIBindingTest::SetUp();
request_handler_ = base::MakeUnique<APIRequestHandler>(
- base::Bind(&RunFunctionOnGlobalAndIgnoreResult));
+ base::Bind(&RunFunctionOnGlobalAndIgnoreResult),
+ APILastError(APILastError::GetParent()));
}
void TearDown() override {

Powered by Google App Engine
This is Rietveld 408576698