Index: chrome/test/base/ui_test_utils_win.cc |
diff --git a/chrome/test/base/ui_test_utils_win.cc b/chrome/test/base/ui_test_utils_win.cc |
index aa7f418cb1317d0c1bca8403bff4bc1faa703e98..81460a4a10a1610754c1233ae29e3d8603ce1986 100644 |
--- a/chrome/test/base/ui_test_utils_win.cc |
+++ b/chrome/test/base/ui_test_utils_win.cc |
@@ -124,10 +124,10 @@ bool SaveScreenSnapshotToDirectory(const FilePath& directory, |
RECT& rect = monitor_info.rcMonitor; |
std::vector<unsigned char> png_data; |
- if (chrome::GrabWindowSnapshot(NULL, &png_data, |
- gfx::Rect(rect.right - rect.left, |
- rect.bottom - rect.top)) && |
- png_data.size() <= INT_MAX) { |
+ if (chrome::internal::GrabWindowSnapshot(NULL, &png_data, |
+ gfx::Rect(rect.right - rect.left, |
+ rect.bottom - rect.top)) |
+ && png_data.size() <= INT_MAX) { |
int bytes = static_cast<int>(png_data.size()); |
int written = file_util::WriteFile( |
out_path, reinterpret_cast<char*>(&png_data[0]), bytes); |