Changeset 270000 in webkit
- Timestamp:
- Nov 18, 2020 4:27:51 PM (3 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r269999 r270000 1 2020-11-18 Tim Horton <timothy_horton@apple.com> 2 3 REGRESSION (r269895): Google Maps expanded route options are missing background color 4 https://bugs.webkit.org/show_bug.cgi?id=219119 5 <rdar://problem/71510412> 6 7 Reviewed by Said Abou-Hallawa. 8 9 No new tests, yet. Test is pending. 10 11 * platform/graphics/cg/GraphicsContextCG.cpp: 12 (WebCore::GraphicsContext::drawPlatformImage): 13 r199071 removed the state save/restore around the CG implementation of 14 drawNativeImage, explicitly saving and restoring the few things it knew 15 that the implementation would change. However, it failed to save/restore 16 the composite operator. 17 18 This was mostly not a problem, because e.g. canvas always hands down the 19 global op. However, in r269895, I added code that passes in a /different/ 20 compositing operator, and it gets stuck on the context. 21 22 Save and restore the composite operator and blend mode like we do for other properties. 23 1 24 2020-11-18 Aditya Keerthi <akeerthi@apple.com> 2 25 -
trunk/Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp
r269753 r270000 366 366 #endif 367 367 368 auto oldCompositeOperator = compositeOperation(); 369 auto oldBlendMode = blendModeOperation(); 368 370 setPlatformCompositeOperation(options.compositeOperator(), options.blendMode()); 369 371 … … 393 395 CGContextSetShouldAntialias(context, wasAntialiased); 394 396 #endif 397 setPlatformCompositeOperation(oldCompositeOperator, oldBlendMode); 395 398 } 396 399
Note: See TracChangeset
for help on using the changeset viewer.