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

Unified Diff: content/test/gpu/gpu_tests/maps.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
« no previous file with comments | « no previous file | content/test/gpu/gpu_tests/pixel.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/gpu/gpu_tests/maps.py
diff --git a/content/test/gpu/gpu_tests/maps.py b/content/test/gpu/gpu_tests/maps.py
index 4727cfd8362264ffc35e18c6e797b04b23b54642..2224120822c10e483e1cbdb2d4d3f63c5a47039b 100644
--- a/content/test/gpu/gpu_tests/maps.py
+++ b/content/test/gpu/gpu_tests/maps.py
@@ -14,7 +14,7 @@ import re
import maps_expectations
from telemetry import test
-from telemetry.core.backends import png_bitmap
+from telemetry.core.backends import bitmap
from telemetry.core import util
from telemetry.page import page_test
from telemetry.page import page_set
@@ -97,7 +97,7 @@ class MapsValidator(page_test.PageTest):
(x, y, screenshot.width, screenshot.height))
pixel_color = screenshot.GetPixelColor(x, y)
- expect_color = png_bitmap.PngColor(
+ expect_color = bitmap.RgbaColor(
expectation["color"][0],
expectation["color"][1],
expectation["color"][2])
« no previous file with comments | « no previous file | content/test/gpu/gpu_tests/pixel.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698