Address cpplint issue "Lines should be <= 80 characters long [whitespace/line_length] [2]"

This commit is contained in:
Ales Pergl 2017-04-03 10:38:21 +02:00
parent 392d606848
commit 0bba5b9b41
16 changed files with 238 additions and 106 deletions

View file

@ -5,7 +5,10 @@
namespace brightray {
void Win32Notification::Show(const base::string16& title, const base::string16& msg, const std::string& tag, const GURL& icon_url, const SkBitmap& icon, const bool silent)
void Win32Notification::Show(
const base::string16& title, const base::string16& msg,
const std::string& tag, const GURL& icon_url,
const SkBitmap& icon, const bool silent)
{
auto presenter = static_cast<NotificationPresenterWin7*>(this->presenter());
if(!presenter) return;
@ -26,7 +29,8 @@ void Win32Notification::Show(const base::string16& title, const base::string16&
bmi.biCompression = BI_RGB;
HDC hdcScreen = GetDC(NULL);
image = CreateDIBitmap(hdcScreen, &bmi, CBM_INIT, icon.getPixels(), (BITMAPINFO*)&bmi, DIB_RGB_COLORS);
image = CreateDIBitmap(hdcScreen, &bmi, CBM_INIT, icon.getPixels(),
(BITMAPINFO*)&bmi, DIB_RGB_COLORS);
ReleaseDC(NULL, hdcScreen);
icon.unlockPixels();