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

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

Issue 99253005: [Telemetry] Rename PngBitmap->Bitmap and move it to core. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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 4df18f1bbc9e2144ecc5f880ee04b1a360d66fa0..2606d580247040f61e8ecbe998583783b65cc595 100644
--- a/content/test/gpu/gpu_tests/pixel.py
+++ b/content/test/gpu/gpu_tests/pixel.py
@@ -8,7 +8,7 @@ import os
import re
from telemetry import test
-from telemetry.core.backends import png_bitmap
+from telemetry.core import bitmap
from telemetry.page import page_test
test_data_dir = os.path.abspath(os.path.join(
@@ -110,7 +110,7 @@ class PixelValidator(page_test.PageTest):
image_path = image_path + '_' + str(cur_revision) + '.png'
try:
- ref_png = png_bitmap.PngBitmap.FromFile(image_path)
+ ref_png = bitmap.Bitmap.FromPngFile(image_path)
except IOError:
ref_png = None
« no previous file with comments | « content/test/gpu/gpu_tests/maps.py ('k') | tools/telemetry/telemetry/core/backends/chrome/inspector_backend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698