[Webkit-unassigned] [Bug 85087] New: check-webkit-style sometimes does not allow creating scopes for RAII objects

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 27 11:50:29 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=85087

           Summary: check-webkit-style sometimes does not allow creating
                    scopes for RAII objects
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: vollick at chromium.org
                CC: dpranke at chromium.org


check-webkit-style rejected at the following code:

    if (!visible) {
        {
            DebugScopedSetImplThread impl;
            m_layerTreeHost->didBecomeInvisibleOnImplThread(m_layerTreeHostImpl.get());
        }
        ... other code that must execute when !visible, but when impl is out of scope ...

The style check failed because the second curly brace wasn't on the previous line, but I think that it should be fine where it is.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list