Skip to content
Permalink
Browse files
2010-08-05 Cosmin Truta <ctruta@chromium.org>
        Reviewed by Eric Seidel.

        Apply a stylistic fix to the patch 62640.
        https://bug-41175-attachments.webkit.org/attachment.cgi?id=62640
        https://bugs.webkit.org/show_bug.cgi?id=41175

        * WebCore/platform/graphics/skia/ImageBufferSkia.cpp:
        (getImageData):

Canonical link: https://commits.webkit.org/55629@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64813 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
webkit-commit-queue committed Aug 6, 2010
1 parent e3cd6f1 commit d2015f0ad3941a40d9d04889e18e326cafca445e
Showing with 12 additions and 1 deletion.
  1. +11 −0 WebCore/ChangeLog
  2. +1 −1 WebCore/platform/graphics/skia/ImageBufferSkia.cpp
@@ -1,3 +1,14 @@
2010-08-05 Cosmin Truta <ctruta@chromium.org>

Reviewed by Eric Seidel.

Apply a stylistic fix to the patch 62640.
https://bug-41175-attachments.webkit.org/attachment.cgi?id=62640
https://bugs.webkit.org/show_bug.cgi?id=41175

* WebCore/platform/graphics/skia/ImageBufferSkia.cpp:
(getImageData):

2010-08-05 Patrick Gansterer <paroga@paroga.com>

Reviewed by Adam Roben.
@@ -131,7 +131,7 @@ PassRefPtr<ImageData> getImageData(const IntRect& rect, const SkBitmap& bitmap,

if (bitmap.config() == SkBitmap::kNo_Config) {
// This is an empty SkBitmap that could not be configured.
ASSERT(size.width() == 0 || size.height() == 0);
ASSERT(!size.width() || !size.height());
return result;
}

0 comments on commit d2015f0

Please sign in to comment.