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

Unified Diff: Source/platform/graphics/LoggingCanvas.cpp

Issue 476683002: Cleanup namespace usage in platform/graphics/[G-S]* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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: Source/platform/graphics/LoggingCanvas.cpp
diff --git a/Source/platform/graphics/LoggingCanvas.cpp b/Source/platform/graphics/LoggingCanvas.cpp
index de545d2f565910e699002d316bc7ad47e793ee21..d217aaa23db7564b49b6b1713c8a5e9bada59188 100644
--- a/Source/platform/graphics/LoggingCanvas.cpp
+++ b/Source/platform/graphics/LoggingCanvas.cpp
@@ -624,7 +624,7 @@ PassRefPtr<JSONObject> LoggingCanvas::objectForBitmapData(const SkBitmap& bitmap
{
RefPtr<JSONObject> dataItem = JSONObject::create();
Vector<unsigned char> output;
- blink::PNGImageEncoder::encode(bitmap, &output);
+ PNGImageEncoder::encode(bitmap, &output);
dataItem->setString("base64", WTF::base64Encode(reinterpret_cast<char*>(output.data()), output.size()));
dataItem->setString("mimeType", "image/png");
return dataItem.release();
@@ -872,4 +872,5 @@ String LoggingCanvas::stringForText(const void* text, size_t byteLength, const S
return "?";
}
}
-}
+
+} // namespace blink
« no previous file with comments | « Source/platform/graphics/LoggingCanvas.h ('k') | Source/platform/graphics/OpaqueRectTrackingContentLayerDelegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698