Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(740)

Unified Diff: Source/core/css/resolver/FontBuilderTest.cpp

Issue 714163002: Remove RenderStyle member from FontBuilder. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Ensure font is created before taking animation snapshot. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/css/resolver/FontBuilderTest.cpp
diff --git a/Source/core/css/resolver/FontBuilderTest.cpp b/Source/core/css/resolver/FontBuilderTest.cpp
deleted file mode 100644
index e272ebc3b7861e60811c6753d82de52576abe1fb..0000000000000000000000000000000000000000
--- a/Source/core/css/resolver/FontBuilderTest.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "config.h"
-#include "core/css/resolver/FontBuilder.h"
-#include "core/testing/DummyPageHolder.h"
-
-#include <gtest/gtest.h>
-
-namespace blink {
-
-class FontBuilderTest : public ::testing::Test {
-protected:
- RenderStyle* getStyle(const FontBuilder& builder)
- {
- return builder.m_style;
- }
-};
-
-TEST_F(FontBuilderTest, StylePointerInitialisation)
-{
- OwnPtr<DummyPageHolder> dummy = DummyPageHolder::create(IntSize(800, 600));
- FontBuilder builder(dummy->document());
- EXPECT_EQ(0, getStyle(builder));
-}
-
-} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698