Title: [184262] trunk/Source/WebCore
- Revision
- 184262
- Author
- [email protected]
- Date
- 2015-05-12 22:31:25 -0700 (Tue, 12 May 2015)
Log Message
Reindent DIBPixelData.h for consistency.
https://bugs.webkit.org/show_bug.cgi?id=144942
Patch by Sungmann Cho <[email protected]> on 2015-05-12
Reviewed by Darin Adler.
No new tests, no behavior change.
* platform/graphics/win/DIBPixelData.h:
(WebCore::DIBPixelData::DIBPixelData):
(WebCore::DIBPixelData::buffer):
(WebCore::DIBPixelData::bufferLength):
(WebCore::DIBPixelData::size):
(WebCore::DIBPixelData::bytesPerRow):
(WebCore::DIBPixelData::bitsPerPixel):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (184261 => 184262)
--- trunk/Source/WebCore/ChangeLog 2015-05-13 05:25:52 UTC (rev 184261)
+++ trunk/Source/WebCore/ChangeLog 2015-05-13 05:31:25 UTC (rev 184262)
@@ -1,3 +1,20 @@
+2015-05-12 Sungmann Cho <[email protected]>
+
+ Reindent DIBPixelData.h for consistency.
+ https://bugs.webkit.org/show_bug.cgi?id=144942
+
+ Reviewed by Darin Adler.
+
+ No new tests, no behavior change.
+
+ * platform/graphics/win/DIBPixelData.h:
+ (WebCore::DIBPixelData::DIBPixelData):
+ (WebCore::DIBPixelData::buffer):
+ (WebCore::DIBPixelData::bufferLength):
+ (WebCore::DIBPixelData::size):
+ (WebCore::DIBPixelData::bytesPerRow):
+ (WebCore::DIBPixelData::bitsPerPixel):
+
2015-05-12 Commit Queue <[email protected]>
Unreviewed, rolling out r184224.
Modified: trunk/Source/WebCore/platform/graphics/win/DIBPixelData.h (184261 => 184262)
--- trunk/Source/WebCore/platform/graphics/win/DIBPixelData.h 2015-05-13 05:25:52 UTC (rev 184261)
+++ trunk/Source/WebCore/platform/graphics/win/DIBPixelData.h 2015-05-13 05:31:25 UTC (rev 184262)
@@ -39,35 +39,35 @@
namespace WebCore {
class DIBPixelData {
- public:
- DIBPixelData()
- : m_bitmapBuffer(0)
- , m_bitmapBufferLength(0)
- , m_bytesPerRow(0)
- , m_bitsPerPixel(0)
- {
- }
- DIBPixelData(HBITMAP);
+public:
+ DIBPixelData()
+ : m_bitmapBuffer(0)
+ , m_bitmapBufferLength(0)
+ , m_bytesPerRow(0)
+ , m_bitsPerPixel(0)
+ {
+ }
+ DIBPixelData(HBITMAP);
- void initialize(HBITMAP);
+ void initialize(HBITMAP);
#ifndef NDEBUG
- void writeToFile(LPCWSTR);
+ void writeToFile(LPCWSTR);
#endif
- UInt8* buffer() const { return m_bitmapBuffer; }
- unsigned bufferLength() const { return m_bitmapBufferLength; }
- const IntSize& size() const { return m_size; }
- unsigned bytesPerRow() const { return m_bytesPerRow; }
- unsigned short bitsPerPixel() const { return m_bitsPerPixel; }
- static void setRGBABitmapAlpha(HDC, const IntRect&, unsigned char);
+ UInt8* buffer() const { return m_bitmapBuffer; }
+ unsigned bufferLength() const { return m_bitmapBufferLength; }
+ const IntSize& size() const { return m_size; }
+ unsigned bytesPerRow() const { return m_bytesPerRow; }
+ unsigned short bitsPerPixel() const { return m_bitsPerPixel; }
+ static void setRGBABitmapAlpha(HDC, const IntRect&, unsigned char);
- private:
- UInt8* m_bitmapBuffer;
- unsigned m_bitmapBufferLength;
- IntSize m_size;
- unsigned m_bytesPerRow;
- unsigned short m_bitsPerPixel;
+private:
+ UInt8* m_bitmapBuffer;
+ unsigned m_bitmapBufferLength;
+ IntSize m_size;
+ unsigned m_bytesPerRow;
+ unsigned short m_bitsPerPixel;
};
} // namespace WebCore
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes