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

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

Issue 205733003: Remove unused WebRuntimeFeatures::enableStableFeatures (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | « no previous file | public/web/WebRuntimeFeatures.h » ('j') | 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 20 matching lines...) Expand all
31 #include "config.h" 31 #include "config.h"
32 #include "WebRuntimeFeatures.h" 32 #include "WebRuntimeFeatures.h"
33 33
34 #include "RuntimeEnabledFeatures.h" 34 #include "RuntimeEnabledFeatures.h"
35 #include "WebMediaPlayerClientImpl.h" 35 #include "WebMediaPlayerClientImpl.h"
36 36
37 using namespace WebCore; 37 using namespace WebCore;
38 38
39 namespace blink { 39 namespace blink {
40 40
41 void WebRuntimeFeatures::enableStableFeatures(bool enable)
42 {
43 // FIXME: This entire method should be removed once it is no longer called b y Chromium.
44 ASSERT(enable);
45 }
46
47 void WebRuntimeFeatures::enableExperimentalFeatures(bool enable) 41 void WebRuntimeFeatures::enableExperimentalFeatures(bool enable)
48 { 42 {
49 RuntimeEnabledFeatures::setExperimentalFeaturesEnabled(enable); 43 RuntimeEnabledFeatures::setExperimentalFeaturesEnabled(enable);
50 } 44 }
51 45
52 void WebRuntimeFeatures::enableBleedingEdgeFastPaths(bool enable) 46 void WebRuntimeFeatures::enableBleedingEdgeFastPaths(bool enable)
53 { 47 {
54 ASSERT(enable); 48 ASSERT(enable);
55 RuntimeEnabledFeatures::setBleedingEdgeFastPathsEnabled(enable); 49 RuntimeEnabledFeatures::setBleedingEdgeFastPathsEnabled(enable);
56 RuntimeEnabledFeatures::setSubpixelFontScalingEnabled(enable || RuntimeEnabl edFeatures::subpixelFontScalingEnabled()); 50 RuntimeEnabledFeatures::setSubpixelFontScalingEnabled(enable || RuntimeEnabl edFeatures::subpixelFontScalingEnabled());
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 { 280 {
287 RuntimeEnabledFeatures::setExperimentalWebSocketEnabled(enable); 281 RuntimeEnabledFeatures::setExperimentalWebSocketEnabled(enable);
288 } 282 }
289 283
290 void WebRuntimeFeatures::enableTargetedStyleRecalc(bool enable) 284 void WebRuntimeFeatures::enableTargetedStyleRecalc(bool enable)
291 { 285 {
292 RuntimeEnabledFeatures::setTargetedStyleRecalcEnabled(enable); 286 RuntimeEnabledFeatures::setTargetedStyleRecalcEnabled(enable);
293 } 287 }
294 288
295 } // namespace blink 289 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698