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

Side by Side Diff: Source/core/css/resolver/StyleBuilderCustom.cpp

Issue 20598006: Stop looking up custom filter program during style application. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/resolver/FilterOperationResolver.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
4 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) 4 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com)
5 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) 5 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com)
6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved.
7 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 7 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
8 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> 8 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org>
9 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 9 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
10 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. 10 * Copyright (c) 2011, Code Aurora Forum. All rights reserved.
(...skipping 1476 matching lines...) Expand 10 before | Expand all | Expand 10 after
1487 if (!value->isValueList()) 1487 if (!value->isValueList())
1488 return; 1488 return;
1489 1489
1490 state.fontBuilder().setFeatureSettingsValue(value); 1490 state.fontBuilder().setFeatureSettingsValue(value);
1491 return; 1491 return;
1492 } 1492 }
1493 1493
1494 case CSSPropertyWebkitFilter: { 1494 case CSSPropertyWebkitFilter: {
1495 HANDLE_INHERIT_AND_INITIAL(filter, Filter); 1495 HANDLE_INHERIT_AND_INITIAL(filter, Filter);
1496 FilterOperations operations; 1496 FilterOperations operations;
1497 if (FilterOperationResolver::createFilterOperations(value, state.style() , state.rootElementStyle(), operations, styleResolver->m_styleResourceLoader.cus tomFilterProgramCache(), state)) 1497 if (FilterOperationResolver::createFilterOperations(value, state.style() , state.rootElementStyle(), operations, state))
1498 state.style()->setFilter(operations); 1498 state.style()->setFilter(operations);
1499 return; 1499 return;
1500 } 1500 }
1501 case CSSPropertyGridAutoColumns: { 1501 case CSSPropertyGridAutoColumns: {
1502 HANDLE_INHERIT_AND_INITIAL(gridAutoColumns, GridAutoColumns); 1502 HANDLE_INHERIT_AND_INITIAL(gridAutoColumns, GridAutoColumns);
1503 GridTrackSize trackSize; 1503 GridTrackSize trackSize;
1504 if (!createGridTrackSize(value, trackSize, state)) 1504 if (!createGridTrackSize(value, trackSize, state))
1505 return; 1505 return;
1506 state.style()->setGridAutoColumns(trackSize); 1506 state.style()->setGridAutoColumns(trackSize);
1507 return; 1507 return;
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
2123 break; 2123 break;
2124 } 2124 }
2125 case CSSPropertyEnableBackground: 2125 case CSSPropertyEnableBackground:
2126 // Silently ignoring this property for now 2126 // Silently ignoring this property for now
2127 // http://bugs.webkit.org/show_bug.cgi?id=6022 2127 // http://bugs.webkit.org/show_bug.cgi?id=6022
2128 break; 2128 break;
2129 } 2129 }
2130 } 2130 }
2131 2131
2132 } // namespace WebCore 2132 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/resolver/FilterOperationResolver.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698