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

Unified Diff: content/test/gpu/gpu_tests/pixel.py

Issue 668753002: [Telemetry] Migrate bitmap.py from bitmaptools.cc to numpy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplify FromRGBPixels Created 6 years, 2 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: content/test/gpu/gpu_tests/pixel.py
diff --git a/content/test/gpu/gpu_tests/pixel.py b/content/test/gpu/gpu_tests/pixel.py
index 88ad710acf7055fe91b2277b9b71ec1f4afffdcb..d461bb789612e6a6122d9e8388edc46a4b29d89f 100644
--- a/content/test/gpu/gpu_tests/pixel.py
+++ b/content/test/gpu/gpu_tests/pixel.py
@@ -134,7 +134,7 @@ class _PixelValidator(cloud_storage_test_base.ValidatorBase):
image_path = image_path + '_' + str(cur_revision) + '.png'
try:
- ref_png = bitmap.Bitmap.FromPngFile(image_path)
+ ref_png = bitmap.Bitmap.FromImageFile(image_path)
except IOError:
ref_png = None

Powered by Google App Engine
This is Rietveld 408576698