| Index: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
|
| index 2fce3a6e324ee47ef30af2e1cebbbdc79513f89f..2b88e9b29d9dd9802f2dc226e360dfed1db7f26a 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
|
| @@ -9,8 +9,6 @@
|
| #include "platform/graphics/paint/TransformPaintPropertyNode.h"
|
| #include "platform/testing/UnitTestHelpers.h"
|
| #include "platform/text/TextStream.h"
|
| -#include "public/platform/Platform.h"
|
| -#include "public/platform/WebUnitTestSupport.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "wtf/HashMap.h"
|
| #include "wtf/Vector.h"
|
| @@ -27,8 +25,8 @@ public:
|
| String fullPath = testing::blinkRootDir();
|
| fullPath.append("/Source/core/paint/test_data/");
|
| fullPath.append(fileName);
|
| - WebData inputBuffer = Platform::current()->unitTestSupport()->readFromFile(fullPath);
|
| - setBodyInnerHTML(String(inputBuffer.data(), inputBuffer.size()));
|
| + RefPtr<SharedBuffer> inputBuffer = testing::readFromFile(fullPath);
|
| + setBodyInnerHTML(String(inputBuffer->data(), inputBuffer->size()));
|
| }
|
|
|
| private:
|
|
|