Title: [138519] trunk/Source/WebCore
- Revision
- 138519
- Author
- [email protected]
- Date
- 2012-12-27 19:17:31 -0800 (Thu, 27 Dec 2012)
Log Message
Fix styling/formatting errors, pointed out by Darin Adler while reviewing
https://bugs.webkit.org/show_bug.cgi?id=105752
No functional changes, thus no new tests.
* dom/VisitedLinkState.cpp:
(WebCore::VisitedLinkState::VisitedLinkState): Fixed up constructor syntax.
(WebCore::linkHashForElement): Expanded abbreviation.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (138518 => 138519)
--- trunk/Source/WebCore/ChangeLog 2012-12-28 02:45:13 UTC (rev 138518)
+++ trunk/Source/WebCore/ChangeLog 2012-12-28 03:17:31 UTC (rev 138519)
@@ -1,3 +1,14 @@
+2012-12-27 Dimitri Glazkov <[email protected]>
+
+ Fix styling/formatting errors, pointed out by Darin Adler while reviewing
+ https://bugs.webkit.org/show_bug.cgi?id=105752
+
+ No functional changes, thus no new tests.
+
+ * dom/VisitedLinkState.cpp:
+ (WebCore::VisitedLinkState::VisitedLinkState): Fixed up constructor syntax.
+ (WebCore::linkHashForElement): Expanded abbreviation.
+
2012-12-27 Mike West <[email protected]>
Add context to the console message generated by Document::printNavigationErrorMessage.
Modified: trunk/Source/WebCore/dom/VisitedLinkState.cpp (138518 => 138519)
--- trunk/Source/WebCore/dom/VisitedLinkState.cpp 2012-12-28 02:45:13 UTC (rev 138518)
+++ trunk/Source/WebCore/dom/VisitedLinkState.cpp 2012-12-28 03:17:31 UTC (rev 138519)
@@ -62,8 +62,9 @@
}
VisitedLinkState::VisitedLinkState(Document* document)
- :m_document(document)
-{ }
+ : m_document(document)
+{
+}
void VisitedLinkState::invalidateStyleForAllLinks()
{
@@ -79,8 +80,8 @@
{
if (element->hasTagName(aTag))
return static_cast<HTMLAnchorElement*>(element)->visitedLinkHash();
- if (const AtomicString* attr = linkAttribute(element))
- return WebCore::visitedLinkHash(document->baseURL(), *attr);
+ if (const AtomicString* attribute = linkAttribute(element))
+ return WebCore::visitedLinkHash(document->baseURL(), *attribute);
return 0;
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes