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

Unified Diff: extensions/renderer/api_request_handler_unittest.cc

Issue 2953133002: [Extensions Bindings] Support chrome.extension.lastError (Closed)
Patch Set: . Created 3 years, 6 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_request_handler_unittest.cc
diff --git a/extensions/renderer/api_request_handler_unittest.cc b/extensions/renderer/api_request_handler_unittest.cc
index e646a981163bd106034995ba0c2c63c397d11a65..29e5b0e108206315692dc72b74a337fd4d4079c1 100644
--- a/extensions/renderer/api_request_handler_unittest.cc
+++ b/extensions/renderer/api_request_handler_unittest.cc
@@ -373,7 +373,8 @@ TEST_F(APIRequestHandlerTest, SettingLastError) {
v8::Local<v8::Context> context = MainContext();
base::Optional<std::string> logged_error;
- auto get_parent = [](v8::Local<v8::Context> context) {
+ auto get_parent = [](v8::Local<v8::Context> context,
+ v8::Local<v8::Object>* secondary_parent) {
return context->Global();
};

Powered by Google App Engine
This is Rietveld 408576698