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

Unified Diff: Source/web/tests/sim/SimDisplayItemList.cpp

Issue 1316673009: Revert of Add a FOUC painting test. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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/web/tests/sim/SimDisplayItemList.h ('k') | Source/web/tests/sim/SimLayerTreeView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/sim/SimDisplayItemList.cpp
diff --git a/Source/web/tests/sim/SimDisplayItemList.cpp b/Source/web/tests/sim/SimDisplayItemList.cpp
deleted file mode 100644
index 4a403e88b8934ec3c3fdd97bee1efe772734af07..0000000000000000000000000000000000000000
--- a/Source/web/tests/sim/SimDisplayItemList.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2015 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 "web/tests/sim/SimDisplayItemList.h"
-
-#include "third_party/skia/include/core/SkPicture.h"
-
-namespace blink {
-
-SimDisplayItemList::SimDisplayItemList()
- : m_didDrawText(false)
- , m_drawCount(0)
-{
-}
-
-void SimDisplayItemList::appendDrawingItem(const SkPicture* picture)
-{
- // There's not much we can tell about a picture, but we can tell if it
- // contains text. Ideally paint slimming would have a higher level
- // display list (or special GraphicsContext) so unit tests could query
- // what kind of things were painted.
- m_didDrawText |= picture->hasText();
- m_drawCount += picture->approximateOpCount();
-}
-
-} // namespace blink
« no previous file with comments | « Source/web/tests/sim/SimDisplayItemList.h ('k') | Source/web/tests/sim/SimLayerTreeView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698