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

Side by Side Diff: Source/web/WebRuntimeFeatures.cpp

Issue 486563002: Remove CSSWillChange runtime flag (status=stable) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/platform/RuntimeEnabledFeatures.in ('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 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 28 matching lines...) Expand all
39 void WebRuntimeFeatures::enableExperimentalFeatures(bool enable) 39 void WebRuntimeFeatures::enableExperimentalFeatures(bool enable)
40 { 40 {
41 RuntimeEnabledFeatures::setExperimentalFeaturesEnabled(enable); 41 RuntimeEnabledFeatures::setExperimentalFeaturesEnabled(enable);
42 } 42 }
43 43
44 void WebRuntimeFeatures::enableBleedingEdgeFastPaths(bool enable) 44 void WebRuntimeFeatures::enableBleedingEdgeFastPaths(bool enable)
45 { 45 {
46 ASSERT(enable); 46 ASSERT(enable);
47 RuntimeEnabledFeatures::setBleedingEdgeFastPathsEnabled(enable); 47 RuntimeEnabledFeatures::setBleedingEdgeFastPathsEnabled(enable);
48 RuntimeEnabledFeatures::setSubpixelFontScalingEnabled(enable || RuntimeEnabl edFeatures::subpixelFontScalingEnabled()); 48 RuntimeEnabledFeatures::setSubpixelFontScalingEnabled(enable || RuntimeEnabl edFeatures::subpixelFontScalingEnabled());
49 RuntimeEnabledFeatures::setCSSWillChangeEnabled(enable);
50 RuntimeEnabledFeatures::setWebAnimationsAPIEnabled(enable); 49 RuntimeEnabledFeatures::setWebAnimationsAPIEnabled(enable);
51 } 50 }
52 51
53 void WebRuntimeFeatures::enableTestOnlyFeatures(bool enable) 52 void WebRuntimeFeatures::enableTestOnlyFeatures(bool enable)
54 { 53 {
55 RuntimeEnabledFeatures::setTestFeaturesEnabled(enable); 54 RuntimeEnabledFeatures::setTestFeaturesEnabled(enable);
56 } 55 }
57 56
58 void WebRuntimeFeatures::enableApplicationCache(bool enable) 57 void WebRuntimeFeatures::enableApplicationCache(bool enable)
59 { 58 {
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 { 286 {
288 RuntimeEnabledFeatures::setShowModalDialogEnabled(enable); 287 RuntimeEnabledFeatures::setShowModalDialogEnabled(enable);
289 } 288 }
290 289
291 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable) 290 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable)
292 { 291 {
293 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable); 292 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable);
294 } 293 }
295 294
296 } // namespace blink 295 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/RuntimeEnabledFeatures.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698