⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 121320 in webkit


Ignore:
Timestamp:
Jun 26, 2012, 10:40:18 PM (14 years ago)
Author:
macpherson@chromium.org
Message:

Return correct value for css variables enabled runtime flag.
https://bugs.webkit.org/show_bug.cgi?id=90040

Reviewed by Dimitri Glazkov.

Was always returning true for the runtime flag when the compile time flag was on. That was good for testing,
but not so much for production.

  • page/Settings.h:

(WebCore::Settings::cssVariablesEnabled):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r121319 r121320  
     12012-06-26  Luke Macpherson  <macpherson@chromium.org>
     2
     3        Return correct value for css variables enabled runtime flag.
     4        https://bugs.webkit.org/show_bug.cgi?id=90040
     5
     6        Reviewed by Dimitri Glazkov.
     7
     8        Was always returning true for the runtime flag when the compile time flag was on. That was good for testing,
     9        but not so much for production.
     10
     11        * page/Settings.h:
     12        (WebCore::Settings::cssVariablesEnabled):
     13
    1142012-06-26  Xueqing Huang  <huangxueqing@baidu.com>
    215
  • trunk/Source/WebCore/page/Settings.h

    r121229 r121320  
    334334#if ENABLE(CSS_VARIABLES)
    335335        void setCSSVariablesEnabled(bool enabled) { m_cssVariablesEnabled = enabled; }
    336         bool cssVariablesEnabled() const { return true; }
     336        bool cssVariablesEnabled() const { return m_cssVariablesEnabled; }
    337337#else
    338338        void setCSSVariablesEnabled(bool) { }
Note: See TracChangeset for help on using the changeset viewer.