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

Side by Side Diff: sky/engine/platform/graphics/GraphicsContext.cpp.rej

Issue 1174253003: Make the stocks popup menu fade in (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « sky/engine/core/painting/Rect.cpp ('k') | sky/engine/platform/graphics/GraphicsContext.h.rej » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 --- platform/graphics/GraphicsContext.cpp
2 +++ platform/graphics/GraphicsContext.cpp
3 @@ -419,19 +419,6 @@
4 paint->setLCDRenderText(couldUseLCDRenderedText());
5 }
6
7 -bool GraphicsContext::couldUseLCDRenderedText() const
8 -{
9 - ASSERT(m_canvas);
10 - // Our layers only have a single alpha channel. This means that subpixel
11 - // rendered text cannot be composited correctly when the layer is
12 - // collapsed. Therefore, subpixel text is contextDisabled when we are drawi ng
13 - // onto a layer.
14 - if (contextDisabled() || m_canvas->isDrawingToLayer() || !isCertainlyOpaque ())
15 - return false;
16 -
17 - return shouldSmoothFonts();
18 -}
19 -
20 void GraphicsContext::setCompositeOperation(CompositeOperator compositeOperatio n, WebBlendMode blendMode)
21 {
22 if (contextDisabled())
OLDNEW
« no previous file with comments | « sky/engine/core/painting/Rect.cpp ('k') | sky/engine/platform/graphics/GraphicsContext.h.rej » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698