Index: Source/core/page/FrameView.cpp |
diff --git a/Source/core/page/FrameView.cpp b/Source/core/page/FrameView.cpp |
index 4757b48ee2ac59f7965506ae8056467552c12dfd..ff25a76918c6ab63d675c228822ca9dd3ae8d1b1 100644 |
--- a/Source/core/page/FrameView.cpp |
+++ b/Source/core/page/FrameView.cpp |
@@ -2990,8 +2990,7 @@ void FrameView::paintControlTints() |
{ |
if (needsLayout()) |
layout(); |
- PlatformGraphicsContext* const noContext = 0; |
- GraphicsContext context(noContext); |
+ GraphicsContext context(0); // NULL canvas to get a non-painting context. |
jamesr
2013/04/29 23:56:17
woah, so this does a "paint" just to update random
|
context.setUpdatingControlTints(true); |
paint(&context, frameRect()); |
} |