| 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();
|
|
|