<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>74375</bug_id>
          
          <creation_ts>2011-12-12 18:19:53 -0800</creation_ts>
          <short_desc>[chromium] static initializer in ScrollbarThemeChromiumMac.mm</short_desc>
          <delta_ts>2011-12-27 13:49:10 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Platform</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>61144</dependson>
          <blocked>74365</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Tony Chang">tony</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>sail</cc>
    
    <cc>thakis</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>519752</commentid>
    <comment_count>0</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2011-12-12 18:19:53 -0800</bug_when>
    <thetext>/Users/tc/WebKit/Source/WebCore/WebCore.gyp/../platform/chromium/ScrollbarThemeChromiumMac.mm:155:34: error: declaration requires a global constructor [-Werror,-Wglobal-constructors]
static ScrollbarButtonsPlacement gButtonPlacement = isScrollbarOverlayAPIAvailable() ? ScrollbarButtonsNone : ScrollbarButtonsDoubleEnd;
                                 ^                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


This global is set in updateArrowPlacement, so it wasn&apos;t obvious to me what the right way to fix this is.  Can we just move it into a static function?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>520139</commentid>
    <comment_count>1</comment_count>
    <who name="Nico Weber">thakis</who>
    <bug_when>2011-12-13 09:56:18 -0800</bug_when>
    <thetext>Sail has a CL to remove this in bug 61144</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>527462</commentid>
    <comment_count>2</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2011-12-27 13:49:10 -0800</bug_when>
    <thetext>Fixed in bug 61144 by http://trac.webkit.org/changeset/103354 .</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>