mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Apply clang-format to all C, C++ and ObjC files (issue #2171)
This commit is contained in:
@ -17,9 +17,7 @@ CefSoftwareOutputDeviceOSR::CefSoftwareOutputDeviceOSR(
|
||||
ui::Compositor* compositor,
|
||||
bool transparent,
|
||||
const OnPaintCallback& callback)
|
||||
: transparent_(transparent),
|
||||
callback_(callback),
|
||||
active_(false) {
|
||||
: transparent_(transparent), callback_(callback), active_(false) {
|
||||
CEF_REQUIRE_UIT();
|
||||
DCHECK(!callback_.is_null());
|
||||
}
|
||||
@ -40,8 +38,7 @@ void CefSoftwareOutputDeviceOSR::Resize(const gfx::Size& viewport_pixel_size,
|
||||
canvas_.reset(NULL);
|
||||
bitmap_.reset(new SkBitmap);
|
||||
bitmap_->allocN32Pixels(viewport_pixel_size.width(),
|
||||
viewport_pixel_size.height(),
|
||||
!transparent_);
|
||||
viewport_pixel_size.height(), !transparent_);
|
||||
if (bitmap_->drawsNothing()) {
|
||||
NOTREACHED();
|
||||
bitmap_.reset(NULL);
|
||||
|
Reference in New Issue
Block a user