| 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/dom/Document.h" |
| 5 #include "core/frame/FrameView.h" | 6 #include "core/frame/FrameView.h" |
| 6 #include "core/html/HTMLElement.h" | 7 #include "core/html/HTMLElement.h" |
| 7 #include "core/testing/DummyPageHolder.h" | 8 #include "core/testing/DummyPageHolder.h" |
| 8 #include "wtf/OwnPtr.h" | 9 #include "wtf/OwnPtr.h" |
| 9 #include <gtest/gtest.h> | 10 #include <gtest/gtest.h> |
| 10 | 11 |
| 11 namespace blink { | 12 namespace blink { |
| 12 | 13 |
| 13 class RenderingTest : public testing::Test { | 14 class RenderingTest : public testing::Test { |
| 14 protected: | 15 protected: |
| (...skipping 12 matching lines...) Expand all Loading... |
| 27 { | 28 { |
| 28 document().body()->setInnerHTML(String::fromUTF8(htmlContent), ASSERT_NO
_EXCEPTION); | 29 document().body()->setInnerHTML(String::fromUTF8(htmlContent), ASSERT_NO
_EXCEPTION); |
| 29 document().view()->updateLayoutAndStyleIfNeededRecursive(); | 30 document().view()->updateLayoutAndStyleIfNeededRecursive(); |
| 30 } | 31 } |
| 31 | 32 |
| 32 private: | 33 private: |
| 33 OwnPtr<DummyPageHolder> m_pageHolder; | 34 OwnPtr<DummyPageHolder> m_pageHolder; |
| 34 }; | 35 }; |
| 35 | 36 |
| 36 } // namespace blink | 37 } // namespace blink |
| OLD | NEW |