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

Unified Diff: content/renderer/render_widget.cc

Issue 9265018: Change grow box computation back to a method on BrowserWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 8 years, 11 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 | « content/public/browser/web_contents_delegate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.cc
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
index ff139dd5d5104f61dabd98f1f641e1741a56a181..e60c7939b44cc8786a15458442db9b725ac4a439 100644
--- a/content/renderer/render_widget.cc
+++ b/content/renderer/render_widget.cc
@@ -271,9 +271,6 @@ void RenderWidget::OnResize(const gfx::Size& new_size,
if (!webwidget_)
return;
- // We shouldn't be asked to resize to our current size.
- DCHECK(size_ != new_size || resizer_rect_ != resizer_rect);
-
// Remember the rect where the resize corner will be drawn.
resizer_rect_ = resizer_rect;
@@ -824,7 +821,6 @@ void RenderWidget::DoDeferredUpdate() {
pending_update_params_->dy = update.scroll_delta.y();
pending_update_params_->scroll_rect = update.scroll_rect;
pending_update_params_->view_size = size_;
- pending_update_params_->resizer_rect = resizer_rect_;
pending_update_params_->plugin_window_moves.swap(plugin_window_moves_);
pending_update_params_->flags = next_paint_flags_;
pending_update_params_->scroll_offset = GetScrollOffset();
@@ -1049,7 +1045,6 @@ void RenderWidget::didCompleteSwapBuffers() {
ViewHostMsg_UpdateRect_Params params;
params.view_size = size_;
- params.resizer_rect = resizer_rect_;
params.plugin_window_moves.swap(plugin_window_moves_);
params.flags = next_paint_flags_;
params.scroll_offset = GetScrollOffset();
« no previous file with comments | « content/public/browser/web_contents_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698