summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/context/RTree.h
diff options
context:
space:
mode:
authorNicolas Roard <nicolasroard@google.com>2012-07-16 11:07:40 -0700
committerNicolas Roard <nicolasroard@google.com>2012-07-16 11:10:52 -0700
commit9ff239af6ed7d2c7fbfefb2e55c81db81e0462e7 (patch)
tree24e1d34a8b62768a1529cb768e063c1cb05bf0eb /Source/WebCore/platform/graphics/android/context/RTree.h
parent1cb75f6f5e7b8dbed4119b3a72fc8668bf24531f (diff)
downloadexternal_webkit-9ff239af6ed7d2c7fbfefb2e55c81db81e0462e7.zip
external_webkit-9ff239af6ed7d2c7fbfefb2e55c81db81e0462e7.tar.gz
external_webkit-9ff239af6ed7d2c7fbfefb2e55c81db81e0462e7.tar.bz2
Add some comments/cleanup
Change-Id: I71e41f1a76ac3e8e845d9636d57cf3896bb6ec0d
Diffstat (limited to 'Source/WebCore/platform/graphics/android/context/RTree.h')
-rw-r--r--Source/WebCore/platform/graphics/android/context/RTree.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/Source/WebCore/platform/graphics/android/context/RTree.h b/Source/WebCore/platform/graphics/android/context/RTree.h
index 75704cb..5c2f021 100644
--- a/Source/WebCore/platform/graphics/android/context/RTree.h
+++ b/Source/WebCore/platform/graphics/android/context/RTree.h
@@ -66,10 +66,10 @@ public:
private:
- Node* root;
- unsigned maxChildren;
- ElementList* listA;
- ElementList* listB;
+ Node* m_root;
+ unsigned m_maxChildren;
+ ElementList* m_listA;
+ ElementList* m_listB;
friend class Node;
};
@@ -85,16 +85,16 @@ public:
void removeAll();
void display();
- Node** children;
- unsigned nbChildren;
+ Node** m_children;
+ unsigned m_nbChildren;
private:
- int minx;
- int maxx;
- int miny;
- int maxy;
- int area;
+ int m_minX;
+ int m_maxX;
+ int m_minY;
+ int m_maxY;
+ int m_area;
};
class Node {
@@ -128,21 +128,21 @@ private:
private:
- RTree* tree;
- Node* parent;
+ RTree* m_tree;
+ Node* m_parent;
- Node** children;
- unsigned nbChildren;
+ Node** m_children;
+ unsigned m_nbChildren;
public:
- int minx;
- int miny;
- int maxx;
- int maxy;
+ int m_minX;
+ int m_minY;
+ int m_maxX;
+ int m_maxY;
#ifdef DEBUG
- unsigned tid;
+ unsigned m_tid;
#endif
};
@@ -155,7 +155,7 @@ public:
virtual void display(int level = 0);
- WebCore::RecordingData* payload;
+ WebCore::RecordingData* m_payload;
};
}