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

Unified Diff: chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc

Issue 10443105: Take 2 at implementing activeTab. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: a unit test Created 8 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: chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc
diff --git a/chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc b/chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc
index 4b9b22f568e7cdfc5e5fed05a76be385926f06ac..c65981e82172ebca4175c25635fba827b5a54478 100644
--- a/chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc
+++ b/chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc
@@ -802,7 +802,7 @@ bool UpdateOffscreenTabFunction::RunImpl() {
tab_contents_ = offscreen_tab->tab_contents();
bool is_async = false;
- if (!UpdateURLIfPresent(update_props, &is_async))
+ if (!UpdateURLIfPresent(update_props, offscreen_tab_id, &is_async))
return false;
// Update the width and height, if specified.

Powered by Google App Engine
This is Rietveld 408576698