| Index: third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp b/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
|
| index 70d804296274d4459ef2f79d8dd4eb11c2910d16..2deb13155f8597e3856a4a9629ee13819a1d0171 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
|
| @@ -5,6 +5,7 @@
|
| #include "core/layout/LayoutTestHelper.h"
|
|
|
| #include "bindings/core/v8/StringOrArrayBufferOrArrayBufferView.h"
|
| +#include "bindings/core/v8/V8Binding.h"
|
| #include "core/css/FontFaceDescriptors.h"
|
| #include "core/css/FontFaceSet.h"
|
| #include "core/dom/DOMArrayBuffer.h"
|
| @@ -84,7 +85,7 @@ void RenderingTest::loadAhem() {
|
| FontFace* ahem =
|
| FontFace::create(&document(), "Ahem", buffer, FontFaceDescriptors());
|
|
|
| - ScriptState* scriptState = ScriptState::forMainWorld(&m_pageHolder->frame());
|
| + ScriptState* scriptState = toScriptStateForMainWorld(&m_pageHolder->frame());
|
| DummyExceptionStateForTesting exceptionState;
|
| FontFaceSet::from(document())
|
| ->addForBinding(scriptState, ahem, exceptionState);
|
|
|