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

Unified Diff: src/core/SkBitmap.cpp

Issue 1265033002: IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase (a file was deleted). 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
« no previous file with comments | « src/core/SkBBHFactory.cpp ('k') | src/core/SkBitmapDevice.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkBitmap.cpp
diff --git a/src/core/SkBitmap.cpp b/src/core/SkBitmap.cpp
index aa26bdcab38c85d2123d6f139d07fa2cb4f54c97..97b0db6f2056a0dc626040db6a052e61bcdc4702 100644
--- a/src/core/SkBitmap.cpp
+++ b/src/core/SkBitmap.cpp
@@ -1,4 +1,3 @@
-
/*
* Copyright 2008 The Android Open Source Project
*
@@ -6,23 +5,22 @@
* found in the LICENSE file.
*/
-
#include "SkAtomics.h"
#include "SkBitmap.h"
#include "SkColorPriv.h"
-#include "SkDither.h"
-#include "SkFlattenable.h"
-#include "SkImagePriv.h"
+#include "SkData.h"
+#include "SkFilterQuality.h"
#include "SkMallocPixelRef.h"
#include "SkMask.h"
-#include "SkPackBits.h"
+#include "SkMath.h"
#include "SkPixelRef.h"
#include "SkReadBuffer.h"
+#include "SkRect.h"
+#include "SkScalar.h"
#include "SkUnPreMultiply.h"
-#include "SkUtils.h"
-#include "SkValidationUtils.h"
#include "SkWriteBuffer.h"
-#include <new>
+
+#include <string.h>
static bool reset_return_false(SkBitmap* bm) {
bm->reset();
@@ -749,9 +747,6 @@ bool SkBitmap::extractSubset(SkBitmap* result, const SkIRect& subset) const {
///////////////////////////////////////////////////////////////////////////////
-#include "SkCanvas.h"
-#include "SkPaint.h"
-
bool SkBitmap::canCopyTo(SkColorType dstColorType) const {
const SkColorType srcCT = this->colorType();
@@ -1221,6 +1216,7 @@ void SkBitmap::validate() const {
#endif
#ifndef SK_IGNORE_TO_STRING
+#include "SkString.h"
void SkBitmap::toString(SkString* str) const {
static const char* gColorTypeNames[kLastEnum_SkColorType + 1] = {
« no previous file with comments | « src/core/SkBBHFactory.cpp ('k') | src/core/SkBitmapDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698