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

Unified Diff: tools/telemetry/telemetry/core/backends/chrome/inspector_backend.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 | « content/test/gpu/gpu_tests/pixel.py ('k') | tools/telemetry/telemetry/core/backends/png_bitmap.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/backends/chrome/inspector_backend.py
diff --git a/tools/telemetry/telemetry/core/backends/chrome/inspector_backend.py b/tools/telemetry/telemetry/core/backends/chrome/inspector_backend.py
index 61925b1b8554eb7dd2cdbbf55695656749a14a1b..b5b4eb4b640735a9cc834f507e495f631c9a2748 100644
--- a/tools/telemetry/telemetry/core/backends/chrome/inspector_backend.py
+++ b/tools/telemetry/telemetry/core/backends/chrome/inspector_backend.py
@@ -7,9 +7,9 @@ import socket
import sys
import time
+from telemetry.core import bitmap
from telemetry.core import exceptions
from telemetry.core import util
-from telemetry.core.backends import png_bitmap
from telemetry.core.backends.chrome import inspector_console
from telemetry.core.backends.chrome import inspector_memory
from telemetry.core.backends.chrome import inspector_network
@@ -139,7 +139,7 @@ class InspectorBackend(object):
})()
""")
if snap:
- return png_bitmap.PngBitmap.FromBase64(snap['data'])
+ return bitmap.Bitmap.FromBase64Png(snap['data'])
return None
# Console public methods.
« no previous file with comments | « content/test/gpu/gpu_tests/pixel.py ('k') | tools/telemetry/telemetry/core/backends/png_bitmap.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698