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

Unified Diff: url/url_canon.h

Issue 822713002: Update from https://crrev.com/309415 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years 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
« cc/scheduler/scheduler_state_machine.cc ('K') | « ui/gl/gl_surface_mac.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: url/url_canon.h
diff --git a/url/url_canon.h b/url/url_canon.h
index 3b9f906c700773b113684082aa9a6b8cd05fdfbe..89e3509091c2424726c1a24f575d8672f85ff88f 100644
--- a/url/url_canon.h
+++ b/url/url_canon.h
@@ -154,7 +154,7 @@ class RawCanonOutputT : public CanonOutputT<T> {
delete[] this->buffer_;
}
- virtual void Resize(int sz) {
+ void Resize(int sz) override {
T* new_buf = new T[sz];
memcpy(new_buf, this->buffer_,
sizeof(T) * (this->cur_len_ < sz ? this->cur_len_ : sz));
« cc/scheduler/scheduler_state_machine.cc ('K') | « ui/gl/gl_surface_mac.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698