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

Side by Side Diff: Source/core/frame/PinchViewport.cpp

Issue 952813002: InlinedVisitor: Migrate frame to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 , m_scale(1) 70 , m_scale(1)
71 , m_topControlsAdjustment(0) 71 , m_topControlsAdjustment(0)
72 { 72 {
73 reset(); 73 reset();
74 } 74 }
75 75
76 PinchViewport::~PinchViewport() 76 PinchViewport::~PinchViewport()
77 { 77 {
78 } 78 }
79 79
80 void PinchViewport::trace(Visitor* visitor) 80 DEFINE_TRACE(PinchViewport)
81 { 81 {
82 visitor->trace(m_frameHost); 82 visitor->trace(m_frameHost);
83 } 83 }
84 84
85 void PinchViewport::setSize(const IntSize& size) 85 void PinchViewport::setSize(const IntSize& size)
86 { 86 {
87 if (m_size == size) 87 if (m_size == size)
88 return; 88 return;
89 89
90 TRACE_EVENT2("blink", "PinchViewport::setSize", "width", size.width(), "heig ht", size.height()); 90 TRACE_EVENT2("blink", "PinchViewport::setSize", "width", size.width(), "heig ht", size.height());
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 } else if (graphicsLayer == m_rootTransformLayer) { 606 } else if (graphicsLayer == m_rootTransformLayer) {
607 name = "Root Transform Layer"; 607 name = "Root Transform Layer";
608 } else { 608 } else {
609 ASSERT_NOT_REACHED(); 609 ASSERT_NOT_REACHED();
610 } 610 }
611 611
612 return name; 612 return name;
613 } 613 }
614 614
615 } // namespace blink 615 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698