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

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

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 c39c872e47b1aa003429544c4381b6f6bf156010..e581dc5ec961300cd2fec7dd9fcc4cd798a6acb9 100644
--- a/Source/platform/graphics/LoggingCanvas.cpp
+++ b/Source/platform/graphics/LoggingCanvas.cpp
@@ -37,7 +37,7 @@
#include "wtf/text/Base64.h"
#include "wtf/text/TextEncoding.h"
-namespace WebCore {
+namespace blink {
class AutoLogger {
public:
@@ -614,7 +614,7 @@ PassRefPtr<JSONObject> LoggingCanvas::objectForBitmapData(const SkBitmap& bitmap
{
RefPtr<JSONObject> dataItem = JSONObject::create();
Vector<unsigned char> output;
- WebCore::PNGImageEncoder::encode(bitmap, &output);
+ blink::PNGImageEncoder::encode(bitmap, &output);
dataItem->setString("base64", WTF::base64Encode(reinterpret_cast<char*>(output.data()), output.size()));
dataItem->setString("mimeType", "image/png");
return dataItem.release();
« 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