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

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 1855303002: Replace filter outsets with bounds mapping in Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: senorblanco review comments Created 4 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999 Lars Knoll <knoll@kde.org> 3 * 1999 Lars Knoll <knoll@kde.org>
4 * 1999 Antti Koivisto <koivisto@kde.org> 4 * 1999 Antti Koivisto <koivisto@kde.org>
5 * 2000 Dirk Mueller <mueller@kde.org> 5 * 2000 Dirk Mueller <mueller@kde.org>
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com)
9 * Copyright (C) 2009 Google Inc. All rights reserved. 9 * Copyright (C) 2009 Google Inc. All rights reserved.
10 * 10 *
(...skipping 1363 matching lines...) Expand 10 before | Expand all | Expand 10 after
1374 PaintLayer* layer = LayoutBoxModel(layoutItem).layer(); 1374 PaintLayer* layer = LayoutBoxModel(layoutItem).layer();
1375 1375
1376 if (layer->isPaintInvalidationContainer()) 1376 if (layer->isPaintInvalidationContainer())
1377 continue; 1377 continue;
1378 1378
1379 if (layer->subtreeIsInvisible()) 1379 if (layer->subtreeIsInvisible())
1380 continue; 1380 continue;
1381 1381
1382 // If the fixed layer has a blur/drop-shadow filter applied on at least one of its parents, we cannot 1382 // If the fixed layer has a blur/drop-shadow filter applied on at least one of its parents, we cannot
1383 // scroll using the fast path, otherwise the outsets of the filter will be moved around the page. 1383 // scroll using the fast path, otherwise the outsets of the filter will be moved around the page.
1384 if (layer->hasAncestorWithFilterOutsets()) 1384 if (layer->hasAncestorWithFilterThatMovesPixels())
1385 return false; 1385 return false;
1386 1386
1387 TRACE_EVENT_INSTANT1( 1387 TRACE_EVENT_INSTANT1(
1388 TRACE_DISABLED_BY_DEFAULT("devtools.timeline.invalidationTracking"), 1388 TRACE_DISABLED_BY_DEFAULT("devtools.timeline.invalidationTracking"),
1389 "ScrollInvalidationTracking", 1389 "ScrollInvalidationTracking",
1390 TRACE_EVENT_SCOPE_THREAD, 1390 TRACE_EVENT_SCOPE_THREAD,
1391 "data", 1391 "data",
1392 InspectorScrollInvalidationTrackingEvent::data(*layoutObject)); 1392 InspectorScrollInvalidationTrackingEvent::data(*layoutObject));
1393 1393
1394 layoutItem.setShouldDoFullPaintInvalidationIncludingNonCompositingDescen dants(); 1394 layoutItem.setShouldDoFullPaintInvalidationIncludingNonCompositingDescen dants();
(...skipping 2696 matching lines...) Expand 10 before | Expand all | Expand 10 after
4091 return m_hiddenForThrottling && m_crossOriginForThrottling; 4091 return m_hiddenForThrottling && m_crossOriginForThrottling;
4092 } 4092 }
4093 4093
4094 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const 4094 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const
4095 { 4095 {
4096 ASSERT(layoutView()); 4096 ASSERT(layoutView());
4097 return *layoutView(); 4097 return *layoutView();
4098 } 4098 }
4099 4099
4100 } // namespace blink 4100 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698