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

Side by Side Diff: Source/core/layout/LayoutPart.cpp

Issue 1142033002: Oilpan: remove incorrect LayoutPart transition type usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Simon Hausmann <hausmann@kde.org> 3 * (C) 2000 Simon Hausmann <hausmann@kde.org>
4 * (C) 2000 Stefan Schimanski (1Stein@gmx.de) 4 * (C) 2000 Stefan Schimanski (1Stein@gmx.de)
5 * Copyright (C) 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2009 Apple Inc. All rights reserved.
6 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 return false; 303 return false;
304 304
305 Widget* widget = this->widget(); 305 Widget* widget = this->widget();
306 ASSERT(widget); 306 ASSERT(widget);
307 307
308 IntRect newFrame = roundedIntRect(frame); 308 IntRect newFrame = roundedIntRect(frame);
309 309
310 if (widget->frameRect() == newFrame) 310 if (widget->frameRect() == newFrame)
311 return false; 311 return false;
312 312
313 RefPtrWillBeRawPtr<LayoutPart> protector(this); 313 RefPtr<LayoutPart> protector(this);
314 RefPtrWillBeRawPtr<Node> protectedNode(node()); 314 RefPtrWillBeRawPtr<Node> protectedNode(node());
315 widget->setFrameRect(newFrame); 315 widget->setFrameRect(newFrame);
316 return widget->frameRect().size() != newFrame.size(); 316 return widget->frameRect().size() != newFrame.size();
317 } 317 }
318 318
319 } 319 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698