git://git.webkit.org
/
WebKit-https.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WebKit1 is flashy when compositing layers come and go
[WebKit-https.git]
/
Source
/
WebKit
/
mac
/
WebView
/
WebView.mm
diff --git
a/Source/WebKit/mac/WebView/WebView.mm
b/Source/WebKit/mac/WebView/WebView.mm
index
e4c36a5
..
7c4024b
100644
(file)
--- a/
Source/WebKit/mac/WebView/WebView.mm
+++ b/
Source/WebKit/mac/WebView/WebView.mm
@@
-3870,15
+3870,6
@@
static inline IMP getMethod(id o, SEL s)
return NO;
}
return NO;
}
-- (BOOL)_flushCompositingChanges
-{
- Frame* frame = [self _mainCoreFrame];
- if (frame && frame->view())
- return frame->view()->flushCompositingStateIncludingSubframes();
-
- return YES;
-}
-
- (void)_setBaseCTM:(CGAffineTransform)transform forContext:(CGContextRef)context
{
WKSetBaseCTM(context, transform);
- (void)_setBaseCTM:(CGAffineTransform)transform forContext:(CGContextRef)context
{
WKSetBaseCTM(context, transform);
@@
-8420,6
+8411,15
@@
bool LayerFlushController::flushLayers()
_private->layerFlushController->scheduleLayerFlush();
}
_private->layerFlushController->scheduleLayerFlush();
}
+- (BOOL)_flushCompositingChanges
+{
+ Frame* frame = [self _mainCoreFrame];
+ if (frame && frame->view())
+ return frame->view()->flushCompositingStateIncludingSubframes();
+
+ return YES;
+}
+
#if PLATFORM(IOS)
- (void)_scheduleLayerFlushForPendingTileCacheRepaint
{
#if PLATFORM(IOS)
- (void)_scheduleLayerFlushForPendingTileCacheRepaint
{