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

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

Issue 1839643009: RELEASE_ASSERT -> CHECK and ASSERT -> DCHECK in web. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Return DCHECK_IS_ON checks. 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) 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 , m_showFPSCounter(false) 46 , m_showFPSCounter(false)
47 , m_showPaintRects(false) 47 , m_showPaintRects(false)
48 , m_renderVSyncNotificationEnabled(false) 48 , m_renderVSyncNotificationEnabled(false)
49 , m_autoZoomFocusedNodeToLegibleScale(false) 49 , m_autoZoomFocusedNodeToLegibleScale(false)
50 , m_supportDeprecatedTargetDensityDPI(false) 50 , m_supportDeprecatedTargetDensityDPI(false)
51 , m_shrinksViewportContentToFit(false) 51 , m_shrinksViewportContentToFit(false)
52 , m_viewportMetaLayoutSizeQuirk(false) 52 , m_viewportMetaLayoutSizeQuirk(false)
53 , m_viewportMetaNonUserScalableQuirk(false) 53 , m_viewportMetaNonUserScalableQuirk(false)
54 , m_clobberUserAgentInitialScaleQuirk(false) 54 , m_clobberUserAgentInitialScaleQuirk(false)
55 { 55 {
56 ASSERT(settings); 56 DCHECK(settings);
57 } 57 }
58 58
59 void WebSettingsImpl::setFromStrings(const WebString& name, const WebString& val ue) 59 void WebSettingsImpl::setFromStrings(const WebString& name, const WebString& val ue)
60 { 60 {
61 m_settings->setFromStrings(name, value); 61 m_settings->setFromStrings(name, value);
62 } 62 }
63 63
64 void WebSettingsImpl::setStandardFontFamily(const WebString& font, UScriptCode s cript) 64 void WebSettingsImpl::setStandardFontFamily(const WebString& font, UScriptCode s cript)
65 { 65 {
66 if (m_settings->genericFontFamilySettings().updateStandard(font, script)) 66 if (m_settings->genericFontFamilySettings().updateStandard(font, script))
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 { 802 {
803 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); 803 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options));
804 } 804 }
805 805
806 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) 806 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled)
807 { 807 {
808 m_devToolsEmulator->setUseMobileViewportStyle(enabled); 808 m_devToolsEmulator->setUseMobileViewportStyle(enabled);
809 } 809 }
810 810
811 } // namespace blink 811 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSelection.cpp ('k') | third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698