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

Unified Diff: Source/platform/graphics/BitmapPatternBase.h

Issue 1290983003: SkImage-only bitmap patterns (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: drop non-repeat optimization Created 5 years, 4 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
Index: Source/platform/graphics/BitmapPatternBase.h
diff --git a/Source/platform/graphics/BitmapPatternBase.h b/Source/platform/graphics/BitmapPatternBase.h
deleted file mode 100644
index 999cbc01e1dc6ea3f2fbdbf6b258b655616e2d64..0000000000000000000000000000000000000000
--- a/Source/platform/graphics/BitmapPatternBase.h
+++ /dev/null
@@ -1,27 +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.
-
-#ifndef BitmapPatternBase_h
-#define BitmapPatternBase_h
-
-#include "platform/graphics/Pattern.h"
-#include "third_party/skia/include/core/SkImageInfo.h"
-
-namespace blink {
-
-class PLATFORM_EXPORT BitmapPatternBase : public Pattern {
-public:
- BitmapPatternBase(RepeatMode, int64_t externalMemoryAllocated = 0);
- ~BitmapPatternBase() override;
-
-protected:
- PassRefPtr<SkShader> createShader() override;
-
- virtual SkImageInfo getBitmapInfo() = 0;
- virtual void drawBitmapToCanvas(SkCanvas&, SkPaint&) = 0;
-};
-
-} // namespace
-
-#endif /* BitmapPatternBase_h */

Powered by Google App Engine
This is Rietveld 408576698