Update from https://crrev.com/309415 Review URL: https://codereview.chromium.org/822713002
diff --git a/url_canon.h b/url_canon.h index 3b9f906..89e3509 100644 --- a/url_canon.h +++ b/url_canon.h
@@ -154,7 +154,7 @@ 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));