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

Unified Diff: ppapi/proxy/ppb_instance_proxy.cc

Issue 1471043004: Convert various vector_as_array calls to vector::data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « media/test/pipeline_integration_test.cc ('k') | remoting/host/touch_injector_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_instance_proxy.cc
diff --git a/ppapi/proxy/ppb_instance_proxy.cc b/ppapi/proxy/ppb_instance_proxy.cc
index 8ccee5dac5de1db9a305d8c9924b5c6ac75c3080..42812e2dc7bf9d814af72ce119149a8fbeae03bd 100644
--- a/ppapi/proxy/ppb_instance_proxy.cc
+++ b/ppapi/proxy/ppb_instance_proxy.cc
@@ -6,7 +6,6 @@
#include "base/memory/ref_counted.h"
#include "base/numerics/safe_conversions.h"
-#include "base/stl_util.h"
#include "build/build_config.h"
#include "media/base/limits.h"
#include "ppapi/c/pp_errors.h"
@@ -1255,7 +1254,7 @@ void PPB_Instance_Proxy::OnHostMsgSessionKeysChange(
enter.functions()->SessionKeysChange(
instance, session_id_var.get(), has_additional_usable_key,
base::checked_cast<uint32_t>(key_information.size()),
- vector_as_array(&key_information));
+ key_information.data());
}
}
« no previous file with comments | « media/test/pipeline_integration_test.cc ('k') | remoting/host/touch_injector_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698