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

Unified Diff: third_party/WebKit/WebCore/platform/graphics/qt/GraphicsContextQt.cpp

Issue 21165: Revert the merge. Mac build is mysteriously broken. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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: third_party/WebKit/WebCore/platform/graphics/qt/GraphicsContextQt.cpp
===================================================================
--- third_party/WebKit/WebCore/platform/graphics/qt/GraphicsContextQt.cpp (revision 9383)
+++ third_party/WebKit/WebCore/platform/graphics/qt/GraphicsContextQt.cpp (working copy)
@@ -797,7 +797,7 @@
QPainter::CompositionMode currentCompositionMode = p->compositionMode();
if (p->paintEngine()->hasFeature(QPaintEngine::PorterDuff))
p->setCompositionMode(QPainter::CompositionMode_Source);
- p->fillRect(rect, Qt::transparent);
+ p->eraseRect(rect);
if (p->paintEngine()->hasFeature(QPaintEngine::PorterDuff))
p->setCompositionMode(currentCompositionMode);
}

Powered by Google App Engine
This is Rietveld 408576698