| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "core/layout/LayoutTestHelper.h" | 5 #include "core/layout/LayoutTestHelper.h" |
| 6 | 6 |
| 7 #include "bindings/core/v8/StringOrArrayBufferOrArrayBufferView.h" | 7 #include "bindings/core/v8/StringOrArrayBufferOrArrayBufferView.h" |
| 8 #include "bindings/core/v8/V8Binding.h" | 8 #include "bindings/core/v8/V8BindingForCore.h" |
| 9 #include "core/css/FontFaceDescriptors.h" | 9 #include "core/css/FontFaceDescriptors.h" |
| 10 #include "core/css/FontFaceSet.h" | 10 #include "core/css/FontFaceSet.h" |
| 11 #include "core/dom/DOMArrayBuffer.h" | 11 #include "core/dom/DOMArrayBuffer.h" |
| 12 #include "core/html/HTMLIFrameElement.h" | 12 #include "core/html/HTMLIFrameElement.h" |
| 13 #include "platform/loader/fetch/MemoryCache.h" | 13 #include "platform/loader/fetch/MemoryCache.h" |
| 14 #include "platform/scroll/ScrollbarTheme.h" | 14 #include "platform/scroll/ScrollbarTheme.h" |
| 15 #include "platform/testing/UnitTestHelpers.h" | 15 #include "platform/testing/UnitTestHelpers.h" |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 | 18 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 FontFace::Create(&GetDocument(), "Ahem", buffer, FontFaceDescriptors()); | 88 FontFace::Create(&GetDocument(), "Ahem", buffer, FontFaceDescriptors()); |
| 89 | 89 |
| 90 ScriptState* script_state = | 90 ScriptState* script_state = |
| 91 ToScriptStateForMainWorld(&page_holder_->GetFrame()); | 91 ToScriptStateForMainWorld(&page_holder_->GetFrame()); |
| 92 DummyExceptionStateForTesting exception_state; | 92 DummyExceptionStateForTesting exception_state; |
| 93 FontFaceSet::From(GetDocument()) | 93 FontFaceSet::From(GetDocument()) |
| 94 ->addForBinding(script_state, ahem, exception_state); | 94 ->addForBinding(script_state, ahem, exception_state); |
| 95 } | 95 } |
| 96 | 96 |
| 97 } // namespace blink | 97 } // namespace blink |
| OLD | NEW |