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

Side by Side Diff: third_party/WebKit/Source/web/WebSettingsImpl.cpp

Issue 2515413002: Revert workaround due to perf regression (Closed)
Patch Set: Created 4 years 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 } 491 }
492 492
493 void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count) { 493 void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count) {
494 m_settings->setAccelerated2dCanvasMSAASampleCount(count); 494 m_settings->setAccelerated2dCanvasMSAASampleCount(count);
495 } 495 }
496 496
497 void WebSettingsImpl::setAntialiased2dCanvasEnabled(bool enabled) { 497 void WebSettingsImpl::setAntialiased2dCanvasEnabled(bool enabled) {
498 m_settings->setAntialiased2dCanvasEnabled(enabled); 498 m_settings->setAntialiased2dCanvasEnabled(enabled);
499 } 499 }
500 500
501 void WebSettingsImpl::setForceSoftwareReadbackFrom2DCanvas(bool enabled) {
502 m_settings->setForceSoftwareReadbackFrom2DCanvas(enabled);
503 }
504
505 void WebSettingsImpl::setAntialiasedClips2dCanvasEnabled(bool enabled) { 501 void WebSettingsImpl::setAntialiasedClips2dCanvasEnabled(bool enabled) {
506 m_settings->setAntialiasedClips2dCanvasEnabled(enabled); 502 m_settings->setAntialiasedClips2dCanvasEnabled(enabled);
507 } 503 }
508 504
509 void WebSettingsImpl::setPreferCompositingToLCDTextEnabled(bool enabled) { 505 void WebSettingsImpl::setPreferCompositingToLCDTextEnabled(bool enabled) {
510 m_devToolsEmulator->setPreferCompositingToLCDTextEnabled(enabled); 506 m_devToolsEmulator->setPreferCompositingToLCDTextEnabled(enabled);
511 } 507 }
512 508
513 void WebSettingsImpl::setMinimumAccelerated2dCanvasSize(int numPixels) { 509 void WebSettingsImpl::setMinimumAccelerated2dCanvasSize(int numPixels) {
514 m_settings->setMinimumAccelerated2dCanvasSize(numPixels); 510 m_settings->setMinimumAccelerated2dCanvasSize(numPixels);
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxBudget( 708 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxBudget(
713 float maxBudget) { 709 float maxBudget) {
714 m_expensiveBackgroundThrottlingMaxBudget = maxBudget; 710 m_expensiveBackgroundThrottlingMaxBudget = maxBudget;
715 } 711 }
716 712
717 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) { 713 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) {
718 m_expensiveBackgroundThrottlingMaxDelay = maxDelay; 714 m_expensiveBackgroundThrottlingMaxDelay = maxDelay;
719 } 715 }
720 716
721 } // namespace blink 717 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698