Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3725)

Unified Diff: sky/engine/platform/text/LineEnding.cpp

Issue 988693005: Chromium roll (https://codereview.chromium.org/976353002) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fixed bad android build patch Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/platform/graphics/gpu/DrawingBufferTest.cpp ('k') | sky/tools/debugger/debugger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/text/LineEnding.cpp
diff --git a/sky/engine/platform/text/LineEnding.cpp b/sky/engine/platform/text/LineEnding.cpp
index 80ee70af67328abd3d14aa00893678f25673221b..ac71b2ec3dc46c6dab03fc496006ea09e36abeb6 100644
--- a/sky/engine/platform/text/LineEnding.cpp
+++ b/sky/engine/platform/text/LineEnding.cpp
@@ -50,16 +50,16 @@ public:
: m_buffer(buffer)
{
}
- virtual ~CStringBuffer() { }
+ ~CStringBuffer() override { }
- virtual char* allocate(size_t size) override
+ char* allocate(size_t size) override
{
char* ptr;
m_buffer = CString::newUninitialized(size, ptr);
return ptr;
}
- virtual void copy(const CString& source) override
+ void copy(const CString& source) override
{
m_buffer = source;
}
@@ -76,16 +76,16 @@ public:
: m_buffer(buffer)
{
}
- virtual ~VectorCharAppendBuffer() { }
+ ~VectorCharAppendBuffer() override { }
- virtual char* allocate(size_t size) override
+ char* allocate(size_t size) override
{
size_t oldSize = m_buffer.size();
m_buffer.grow(oldSize + size);
return m_buffer.data() + oldSize;
}
- virtual void copy(const CString& source) override
+ void copy(const CString& source) override
{
m_buffer.append(source.data(), source.length());
}
« no previous file with comments | « sky/engine/platform/graphics/gpu/DrawingBufferTest.cpp ('k') | sky/tools/debugger/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698