[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-10851-g50815da
commit-queue at webkit.org
commit-queue at webkit.org
Wed Dec 22 18:27:22 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit aaf1fb25eba3b9068c979631878ea51fe69c03e1
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Sat Dec 11 02:53:02 2010 +0000
2010-12-10 Vincent Scheib <scheib at chromium.org>
Reviewed by James Robinson.
Texture::updateSubRect should pass IntRect by reference
https://bugs.webkit.org/show_bug.cgi?id=50845
No test, changing to pass by ref.
* platform/graphics/gpu/Texture.cpp:
(WebCore::Texture::updateSubRect):
* platform/graphics/gpu/Texture.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73831 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 633d6df..60ba3c3 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,16 @@
+2010-12-10 Vincent Scheib <scheib at chromium.org>
+
+ Reviewed by James Robinson.
+
+ Texture::updateSubRect should pass IntRect by reference
+ https://bugs.webkit.org/show_bug.cgi?id=50845
+
+ No test, changing to pass by ref.
+
+ * platform/graphics/gpu/Texture.cpp:
+ (WebCore::Texture::updateSubRect):
+ * platform/graphics/gpu/Texture.h:
+
2010-12-10 Darin Adler <darin at apple.com>
Reviewed by Sam Weinig.
diff --git a/WebCore/platform/graphics/gpu/Texture.cpp b/WebCore/platform/graphics/gpu/Texture.cpp
index 0c57235..cfcaa63 100644
--- a/WebCore/platform/graphics/gpu/Texture.cpp
+++ b/WebCore/platform/graphics/gpu/Texture.cpp
@@ -149,7 +149,7 @@ void Texture::load(void* pixels)
updateSubRect(pixels, IntRect(0, 0, m_tiles.totalSizeX(), m_tiles.totalSizeY()));
}
-void Texture::updateSubRect(void* pixels, const IntRect updateRect)
+void Texture::updateSubRect(void* pixels, const IntRect& updateRect)
{
IntRect updateRectSanitized(updateRect);
updateRectSanitized.intersect(IntRect(0, 0, m_tiles.totalSizeX(), m_tiles.totalSizeY()));
diff --git a/WebCore/platform/graphics/gpu/Texture.h b/WebCore/platform/graphics/gpu/Texture.h
index 92b6d0a..1f35006 100644
--- a/WebCore/platform/graphics/gpu/Texture.h
+++ b/WebCore/platform/graphics/gpu/Texture.h
@@ -50,7 +50,7 @@ public:
static PassRefPtr<Texture> create(GraphicsContext3D*, Format, int width, int height);
void bindTile(int tile);
void load(void* pixels);
- void updateSubRect(void* pixels, const IntRect);
+ void updateSubRect(void* pixels, const IntRect&);
Format format() const { return m_format; }
const TilingData& tiles() const { return m_tiles; }
private:
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list