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

Unified Diff: Source/core/rendering/RenderPartTest.cpp

Issue 931003002: Move and rename RenderPart to LayoutPart. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 months 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
« no previous file with comments | « Source/core/rendering/RenderPart.cpp ('k') | Source/core/rendering/RenderScrollbar.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderPartTest.cpp
diff --git a/Source/core/rendering/RenderPartTest.cpp b/Source/core/rendering/RenderPartTest.cpp
deleted file mode 100644
index 4ec92617c2cfe8633a0d7a0217b279dc5cf4b695..0000000000000000000000000000000000000000
--- a/Source/core/rendering/RenderPartTest.cpp
+++ /dev/null
@@ -1,29 +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/rendering/RenderPart.h"
-
-#include "core/html/HTMLElement.h"
-#include "core/layout/ImageQualityController.h"
-#include "core/rendering/RenderingTestHelper.h"
-#include <gtest/gtest.h>
-
-namespace blink {
-
-class RenderPartTest : public RenderingTest {
-};
-
-TEST_F(RenderPartTest, DestroyUpdatesImageQualityController)
-{
- RefPtrWillBeRawPtr<Element> element = HTMLElement::create(HTMLNames::divTag, document());
- LayoutObject* part = new RenderPart(element.get());
- // The third and forth arguments are not important in this test.
- ImageQualityController::imageQualityController()->set(part, 0, this, LayoutSize(1, 1));
- EXPECT_TRUE(ImageQualityController::has(part));
- part->destroy();
- EXPECT_FALSE(ImageQualityController::has(part));
-}
-
-}
« no previous file with comments | « Source/core/rendering/RenderPart.cpp ('k') | Source/core/rendering/RenderScrollbar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698