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

Unified Diff: chrome/browser/extensions/api/sessions/sessions_api.cc

Issue 2499023004: [Sync] Introduce SyncedSessionWindow type. (Closed)
Patch Set: Fix compile Created 3 years, 9 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/sessions/sessions_api.cc
diff --git a/chrome/browser/extensions/api/sessions/sessions_api.cc b/chrome/browser/extensions/api/sessions/sessions_api.cc
index da11815ab004a794d57f8826dc735522c7c338bd..83f3b82888ae397b0ace5ede480993c5395d2391 100644
--- a/chrome/browser/extensions/api/sessions/sessions_api.cc
+++ b/chrome/browser/extensions/api/sessions/sessions_api.cc
@@ -336,7 +336,7 @@ api::sessions::Device SessionsGetDevicesFunction::CreateDeviceModel(
static_cast<int>(device_struct.sessions.size()) < max_results;
++it) {
std::unique_ptr<api::sessions::Session> session_model(
- CreateSessionModel(*it->second, session->session_tag));
+ CreateSessionModel(it->second->wrapped_window, session->session_tag));
if (session_model)
device_struct.sessions.push_back(std::move(*session_model));
}

Powered by Google App Engine
This is Rietveld 408576698