WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
85087
check-webkit-style sometimes does not allow creating scopes for RAII objects
https://bugs.webkit.org/show_bug.cgi?id=85087
Summary
check-webkit-style sometimes does not allow creating scopes for RAII objects
vollick
Reported
2012-04-27 11:50:29 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug