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

Unified Diff: ppapi/proxy/raw_var_data.cc

Issue 1609923002: Fix remaining incompatibilities between scoped_ptr and unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: ppapi/proxy/raw_var_data.cc
diff --git a/ppapi/proxy/raw_var_data.cc b/ppapi/proxy/raw_var_data.cc
index 6e4e0577d5f41fb929adc8673d5c51e3a8b81761..bb67dc017fb81fc8229451acd4c742dce880c768 100644
--- a/ppapi/proxy/raw_var_data.cc
+++ b/ppapi/proxy/raw_var_data.cc
@@ -717,7 +717,7 @@ void ResourceRawVarData::Write(IPC::Message* m,
m->WriteInt(static_cast<int>(pp_resource_));
m->WriteInt(pending_renderer_host_id_);
m->WriteInt(pending_browser_host_id_);
- m->WriteBool(creation_message_);
+ m->WriteBool(!!creation_message_);
if (creation_message_)
IPC::WriteParam(m, *creation_message_);
}

Powered by Google App Engine
This is Rietveld 408576698