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

Side by Side Diff: Source/core/html/ImageDocument.cpp

Issue 22887044: [oilpan] Make the oilpan branch build on Mac. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Add FIXME. Created 7 years, 4 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
« no previous file with comments | « Source/core/html/HTMLTextAreaElement.cpp ('k') | Source/core/html/track/TextTrackCue.cpp » ('j') | 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) 2006, 2007, 2008, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2010 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 document()->imageUpdated(); 163 document()->imageUpdated();
164 } 164 }
165 165
166 document()->finishedParsing(); 166 document()->finishedParsing();
167 } 167 }
168 168
169 // -------- 169 // --------
170 170
171 ImageDocument::ImageDocument(Frame* frame, const KURL& url) 171 ImageDocument::ImageDocument(Frame* frame, const KURL& url)
172 : HTMLDocument(frame, url) 172 : HTMLDocument(frame, url)
173 , m_imageElement(0)
174 , m_imageSizeIsKnown(false) 173 , m_imageSizeIsKnown(false)
175 , m_didShrinkImage(false) 174 , m_didShrinkImage(false)
176 , m_shouldShrinkImage(shouldShrinkToFit()) 175 , m_shouldShrinkImage(shouldShrinkToFit())
177 { 176 {
178 setCompatibilityMode(QuirksMode); 177 setCompatibilityMode(QuirksMode);
179 lockCompatibilityMode(); 178 lockCompatibilityMode();
180 } 179 }
181 180
182 PassRefPtr<DocumentParser> ImageDocument::createParser() 181 PassRefPtr<DocumentParser> ImageDocument::createParser()
183 { 182 {
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 HTMLImageElement::didMoveToNewDocument(oldDocument); 410 HTMLImageElement::didMoveToNewDocument(oldDocument);
412 } 411 }
413 412
414 void ImageDocumentElement::accept(Visitor* visitor) const 413 void ImageDocumentElement::accept(Visitor* visitor) const
415 { 414 {
416 visitor->visit(m_imageDocument); 415 visitor->visit(m_imageDocument);
417 HTMLImageElement::accept(visitor); 416 HTMLImageElement::accept(visitor);
418 } 417 }
419 418
420 } 419 }
OLDNEW
« no previous file with comments | « Source/core/html/HTMLTextAreaElement.cpp ('k') | Source/core/html/track/TextTrackCue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698