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

Side by Side Diff: Source/WebCore/page/FrameView.cpp

Issue 11889016: Merge 139365 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 7 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 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) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999 Lars Knoll <knoll@kde.org> 3 * 1999 Lars Knoll <knoll@kde.org>
4 * 1999 Antti Koivisto <koivisto@kde.org> 4 * 1999 Antti Koivisto <koivisto@kde.org>
5 * 2000 Dirk Mueller <mueller@kde.org> 5 * 2000 Dirk Mueller <mueller@kde.org>
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com)
9 * Copyright (C) 2009 Google Inc. All rights reserved. 9 * Copyright (C) 2009 Google Inc. All rights reserved.
10 * 10 *
(...skipping 3039 matching lines...) Expand 10 before | Expand all | Expand 10 after
3050 if (scrollbar->isCustomScrollbar()) 3050 if (scrollbar->isCustomScrollbar())
3051 return true; 3051 return true;
3052 } 3052 }
3053 } 3053 }
3054 3054
3055 return false; 3055 return false;
3056 } 3056 }
3057 3057
3058 FrameView* FrameView::parentFrameView() const 3058 FrameView* FrameView::parentFrameView() const
3059 { 3059 {
3060 if (!parent())
3061 return 0;
3062
3060 if (Frame* parentFrame = m_frame->tree()->parent()) 3063 if (Frame* parentFrame = m_frame->tree()->parent())
3061 return parentFrame->view(); 3064 return parentFrame->view();
3062 3065
3063 return 0; 3066 return 0;
3064 } 3067 }
3065 3068
3066 bool FrameView::isInChildFrameWithFrameFlattening() const 3069 bool FrameView::isInChildFrameWithFrameFlattening() const
3067 { 3070 {
3068 if (!parent() || !m_frame->ownerElement()) 3071 if (!parent() || !m_frame->ownerElement())
3069 return false; 3072 return false;
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after
3734 { 3737 {
3735 #if USE(ACCELERATED_COMPOSITING) 3738 #if USE(ACCELERATED_COMPOSITING)
3736 if (TiledBacking* tiledBacking = this->tiledBacking()) 3739 if (TiledBacking* tiledBacking = this->tiledBacking())
3737 tiledBacking->setScrollingPerformanceLoggingEnabled(flag); 3740 tiledBacking->setScrollingPerformanceLoggingEnabled(flag);
3738 #else 3741 #else
3739 UNUSED_PARAM(flag); 3742 UNUSED_PARAM(flag);
3740 #endif 3743 #endif
3741 } 3744 }
3742 3745
3743 } // namespace WebCore 3746 } // namespace WebCore
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