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

Unified Diff: chrome/browser/plugins/plugin_power_saver_browsertest.cc

Issue 2230203002: chrome: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed accidental components/ change Created 4 years, 4 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
« no previous file with comments | « chrome/browser/plugins/plugin_observer.cc ('k') | chrome/browser/policy/policy_prefs_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugins/plugin_power_saver_browsertest.cc
diff --git a/chrome/browser/plugins/plugin_power_saver_browsertest.cc b/chrome/browser/plugins/plugin_power_saver_browsertest.cc
index 3ecbfd4e5b28dec59cc3baf7077edf071a67b9a1..1626bec367558e7c3d8f739b9d28e1ce814681c7 100644
--- a/chrome/browser/plugins/plugin_power_saver_browsertest.cc
+++ b/chrome/browser/plugins/plugin_power_saver_browsertest.cc
@@ -179,10 +179,10 @@ bool SnapshotMatches(const base::FilePath& reference, const SkBitmap& bitmap) {
int w = 0;
int h = 0;
std::vector<unsigned char> decoded;
- if (!gfx::PNGCodec::Decode(
- reinterpret_cast<unsigned char*>(string_as_array(&reference_data)),
- reference_data.size(), gfx::PNGCodec::FORMAT_BGRA, &decoded, &w,
- &h)) {
+ if (!gfx::PNGCodec::Decode(reinterpret_cast<unsigned char*>(
+ base::string_as_array(&reference_data)),
+ reference_data.size(), gfx::PNGCodec::FORMAT_BGRA,
+ &decoded, &w, &h)) {
return false;
}
« no previous file with comments | « chrome/browser/plugins/plugin_observer.cc ('k') | chrome/browser/policy/policy_prefs_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698